11 Commits
Author SHA1 Message Date
Roshan Ramani 8eadad7073 GH-51148: [Docs] Repoint three dead links (#51149)
### Rationale for this change

Three links in the docs return 404. Each one is the reference target for advice the page is giving, so following it leaves the reader with nothing:

- the checkstyle config a Java contributor is told to follow,
- the conda install guide in the Crossbow setup instructions,
- the ROCm reference in the C device data interface spec.

### What changes are included in this PR?

Three URL strings.

- `developers/java/development.rst`: `apache/arrow/blob/main/java/dev/checkstyle/checkstyle.xml` becomes `apache/arrow-java/blob/main/dev/checkstyle/checkstyle.xml`. The file moved with the Java split and the `java/` path segment went with it; it is 10,851 bytes on `arrow-java@ main`. This was the last remaining `apache/arrow/.../java/...` link under `docs/source`.
- `developers/continuous_integration/crossbow.rst`: `conda.io/docs/user-guide/install/index.html` becomes `docs.conda.io/projects/conda/en/latest/user-guide/install/index.html`.
- `format/CDeviceDataInterface.rst`: the `_ROCm:` target becomes `amd.com/en/products/software/rocm.html`, since AMD retired `en/graphics/servers-solutions-rocm`.

### Are these changes tested?

Not by the test suite; nothing outside `docs/source` changed and no code is touched. Each old URL was requested and returns 404, each new one returns 200, and the two GitHub paths were checked through the contents API rather than the HTML pages, because github.com rate-limits a bulk sweep and a 429 is indistinguishable from a 404. I did not build the docs locally.

### Are there any user-facing changes?

Documentation only. Three links that were broken now resolve.

Disclosure: prepared with AI assistance (Claude, via Claude Code), per the AI-generated Code Guidance in the contributing overview. I reviewed the diff; it introduces no third-party material.
* GitHub Issue: #51148

Authored-by: Roshan Ramani <roshanramani.dev@gmail.com>
Signed-off-by: Nic Crane <thisisnic@gmail.com>
2026-09-03 15:09:06 +01:00
Vibhatha Lakmal AbeykoonandDavid Li f086b76fdd GH-40819: [Java] Adding Spotless to Algorithm module (#41825)
### Rationale for this change

Adding code style and formatting options for Algorithm module. 

### What changes are included in this PR?

Code formatting spotless plugin has been added. 

### Are these changes tested?

Yes, but doesn't involve test cases, the plugin itself corrects. 

### Are there any user-facing changes?

No
* GitHub Issue: #40819

Lead-authored-by: Vibhatha Abeykoon <vibhatha@gmail.com>
Co-authored-by: Vibhatha Lakmal Abeykoon <vibhatha@users.noreply.github.com>
Co-authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
2024-06-10 09:56:39 +09:00
524a463207 GH-39649: [Java][CI] Fix or suppress spurious errorprone warnings stage 2 (#39777)
### Rationale for this change

This PR is a continuation of errorprone warning fixes. 

### What changes are included in this PR?

Fixing warnings suggested by the errorpone module. 

- [x] Adapter
- [x] C
- [x] Format
- [x] Maven
- [x] Memory
- [x] Performance 

### Are these changes tested?

The existing test cases will be covering them. 

### Are there any user-facing changes?

No
* Closes: #39649

Lead-authored-by: Vibhatha Abeykoon <vibhatha@gmail.com>
Co-authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com>
Co-authored-by: vibhatha <vibhatha@gmail.com>
Co-authored-by: Vibhatha Lakmal Abeykoon <vibhatha@users.noreply.github.com>
Co-authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
2024-06-04 17:55:05 +09:00
Bryce Mecum 07a30d9a57 GH-41611: [Docs][CI] Enable most sphinx-lint rules for documentation (#41612)
### Rationale for this change

https://github.com/apache/arrow/issues/41611

### What changes are included in this PR?

- Update to pre-commit config to enable all checks except `dangling-hyphen`, `line-too-long` by default
- Associated fix docs

### Are these changes tested?

Yes, by building and looking at the docs locally.

### Are there any user-facing changes?

Just docs.
* GitHub Issue: #41611

Authored-by: Bryce Mecum <petridish@gmail.com>
Signed-off-by: AlenkaF <frim.alenka@gmail.com>
2024-05-16 13:30:14 +02:00
Laurent Goujon 7003e90c11 GH-41173: [Java] Add spotless configuration for Maven pom.xml files (#41174)
### What changes are included in this PR?

To make sure that all pom.xml files follow the same convention regarding indentation and organization, add spotless plugin with sortPom module to  check and format the files automatically.
    
Update Java developer documentation to provide the link to the  convention and instructions on how to use spotless
    
Finally apply the convention to all `pom.xml` files

### Are these changes tested?

No new test as no code change (just formatting)

### Are there any user-facing changes?

None
* GitHub Issue: #41173

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
2024-04-17 04:39:05 -04:00
John d75269f9ee MINOR: [Docs] Add an empty line to make .. code-block:: work correctly (#39388)
### Rationale for this change

Code block [here](https://arrow.apache.org/docs/developers/java/development.html#unit-testing) didn't work correctly. Added a empty line to make it work well.

### What changes are included in this PR?

Added a empty line to make it work correctly.

### Are these changes tested?

No.

### Are there any user-facing changes?

No.

Authored-by: John <thespica@qq.com>
Signed-off-by: AlenkaF <frim.alenka@gmail.com>
2024-01-03 10:35:41 +01:00
david dali susanibar arce 47f547749a GH-38005: [Java] disable the debug log when running Java tests (#38006)
### Rationale for this change

To disable the debug log when running Java tests

### What changes are included in this PR?

Java Testing resource that configure SLF4J API and adapters.

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* Closes: #38005

Authored-by: David Susanibar Arce <dsusanibar@Voltron.local>
Signed-off-by: David Li <li.davidm96@gmail.com>
2023-10-05 14:35:55 -04:00
Antoine Pitrou e9730f5971 GH-37934: [Doc][Integration] Document C Data Interface testing (#37935)
### Rationale for this change

gh-37537 added integration testing for the C Data Interface, but the documentation was not updated.

### What changes are included in this PR?

Add documentation for C Data Interface integration testing.

### Are these changes tested?

N/A, only doc changes.

### Are there any user-facing changes?

No.
* Closes: #37934

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
2023-09-28 18:24:26 +02:00
Joris Van den Bossche 157b8f555b GH-31148: [Dev] Update URLs in the repo to point to main (#34218)
* Closes: #31148
* Closes: #33215
* Closes: #32804
* Closes: #34232

Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2023-02-17 13:49:41 +01:00
david dali susanibar arce 2a5e47c160 ARROW-17882: [Java][Doc] Adding building steps for Windows user to produce JNI DLL (#14379)
Authored-by: david dali susanibar arce <davi.sarces@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
2022-10-14 09:56:54 -04:00
david dali susanibar arceandDavid Li 55b7bb85de ARROW-15178: [Java][Docs] Java Tutorial: Developer Docs for Java
Task related to: https://issues.apache.org/jira/browse/ARROW-15178

Closes #12534 from davisusanibar/java-tutorial-ARROW-15178

Lead-authored-by: david dali susanibar arce <davi.sarces@gmail.com>
Co-authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
2022-03-09 15:28:22 -05:00