Skip to content

Commit 3254015

Browse files
authored
Normalization: Ensure end of file markers per git standards and tabs as spaces (#361)
1 parent eb05003 commit 3254015

22 files changed

Lines changed: 40 additions & 40 deletions

File tree

maven-wrapper-distribution/src/resources/mvnw.cmd

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

maven-wrapper-distribution/src/resources/only-mvnw

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -201,20 +201,20 @@ elif set_java_home; then
201201
verbose "Falling back to use Java to download"
202202
javaSource="$TMP_DOWNLOAD_DIR/Downloader.java"
203203
targetZip="$TMP_DOWNLOAD_DIR/$distributionUrlName"
204-
cat >"$javaSource" <<-END
205-
public class Downloader extends java.net.Authenticator
206-
{
207-
protected java.net.PasswordAuthentication getPasswordAuthentication()
208-
{
209-
return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
210-
}
211-
public static void main( String[] args ) throws Exception
212-
{
213-
setDefault( new Downloader() );
214-
java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() );
215-
}
216-
}
217-
END
204+
cat >"$javaSource" <<END
205+
public class Downloader extends java.net.Authenticator
206+
{
207+
protected java.net.PasswordAuthentication getPasswordAuthentication()
208+
{
209+
return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
210+
}
211+
public static void main( String[] args ) throws Exception
212+
{
213+
setDefault( new Downloader() );
214+
java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() );
215+
}
216+
}
217+
END
218218
# For Cygwin/MinGW, switch paths to Windows format before running javac and java
219219
verbose " - Compiling Downloader.java ..."
220220
"$(native_path "$JAVACCMD")" "$(native_path "$javaSource")" || die "Failed to compile Downloader.java"

maven-wrapper-plugin/src/it/projects/default/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ under the License.
6363
</properties>
6464
</profile>
6565
</profiles>
66-
</project>
66+
</project>

maven-wrapper-plugin/src/it/projects/includeDebug/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ under the License.
6363
</properties>
6464
</profile>
6565
</profiles>
66-
</project>
66+
</project>

maven-wrapper-plugin/src/it/projects/includeDebug/test.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
includeDebug=true
18+
includeDebug=true

maven-wrapper-plugin/src/it/projects/mavenversion/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ under the License.
6363
</properties>
6464
</profile>
6565
</profiles>
66-
</project>
66+
</project>

maven-wrapper-plugin/src/it/projects/mavenversion/test.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
maven=3.6.3
18+
maven=3.6.3

maven-wrapper-plugin/src/it/projects/sha256_distribution/test.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
alwaysUnpack=true
1919
type=bin
20-
distributionSha256Sum=7e0c63c6a99639e57cc64375d6717d72e301d8ab829fef2e145ee860317bc3cb
20+
distributionSha256Sum=7e0c63c6a99639e57cc64375d6717d72e301d8ab829fef2e145ee860317bc3cb

maven-wrapper-plugin/src/it/projects/sha256_type_only-script/test.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818
type=only-script
19-
distributionSha256Sum=7e0c63c6a99639e57cc64375d6717d72e301d8ab829fef2e145ee860317bc3cb
19+
distributionSha256Sum=7e0c63c6a99639e57cc64375d6717d72e301d8ab829fef2e145ee860317bc3cb

maven-wrapper-plugin/src/it/projects/sha256_wrapper/test.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818
type=bin
19-
wrapperSha256Sum=7e0c63c6a99639e57cc64375d6717d72e301d8ab829fef2e145ee860317bc3cb
19+
wrapperSha256Sum=7e0c63c6a99639e57cc64375d6717d72e301d8ab829fef2e145ee860317bc3cb

0 commit comments

Comments
 (0)