File tree Expand file tree Collapse file tree 8 files changed +8
-97
lines changed
src/main/java/io/tus/java/client Expand file tree Collapse file tree 8 files changed +8
-97
lines changed Original file line number Diff line number Diff line change 7171 <!-- Checks for Size Violations. -->
7272 <!-- See https://checkstyle.org/config_sizes.html -->
7373 <module name =" FileLength" />
74- <module name =" LineLength" >
74+ <!-- module name="LineLength">
7575 <property name="fileExtensions" value="java"/>
7676 <property name="max" value="120"/>
77- </module >
77+ </module> -->
7878
7979 <!-- Checks for whitespace -->
8080 <!-- See https://checkstyle.org/config_whitespace.html -->
205205 <property name =" optional" value =" true" />
206206 </module >
207207 <module name =" SuppressionCommentFilter" />
208-
209- </module >
208+ </module >
210209
211210</module >
Original file line number Diff line number Diff line change 2121 uses : github/super-linter@v3
2222 env :
2323 VALIDATE_ALL_CODEBASE : true # lint all files
24+ FILTER_REGEX_EXCLUDE : /src/test/*
2425 VALIDATE_JAVA : true # only lint Java files
2526 DEFAULT_BRANCH : master
2627 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Enables better overview of runs
Original file line number Diff line number Diff line change 3333 - name : Build with Gradle
3434 run : ./gradlew assemble
3535 - name : Run Tests
36- run : ./gradlew check
37-
38- slack-on-failure :
39- needs : [Java]
40- if : failure() && github.ref == 'refs/heads/master'
41- runs-on : ubuntu-latest
42-
43- steps :
44- - uses : 8398a7/action-slack@v3
45- with :
46- status : failure
47- env :
48- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
36+ run : ./gradlew check
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # tus-java-client [ ![ Build Status ] ( https://travis-ci.org /tus/tus-java-client. svg?branch=master )] ( https://travis-ci.org /tus/tus-java-client )
1+ # tus-java-client [ ![ Tests ] ( https://github.com /tus/tus-java-client/actions/workflows/tests.yml/badge. svg?branch=master )] ( https://github.com /tus/tus-java-client/actions/workflows/tests.yml )
22
33> ** tus** is a protocol based on HTTP for * resumable file uploads* . Resumable
44> means that an upload can be interrupted at any moment and can be resumed without
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -319,8 +319,9 @@ public TusUploader resumeOrCreateUpload(@NotNull TusUpload upload) throws Protoc
319319 public void prepareConnection (@ NotNull HttpURLConnection connection ) {
320320 // Only follow redirects, if the POST methods is preserved. If http.strictPostRedirect is
321321 // disabled, a POST request will be transformed into a GET request which is not wanted by us.
322+
322323 // CHECKSTYLE:OFF
323- // Necessary because of length of the link
324+ // LineLength - Necessary because of length of the link
324325 // See:https://github.com/openjdk/jdk/blob/jdk7-b43/jdk/src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java#L2020-L2035
325326 // CHECKSTYLE:ON
326327 connection .setInstanceFollowRedirects (Boolean .getBoolean ("http.strictPostRedirect" ));
You can’t perform that action at this time.
0 commit comments