creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549125 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java
Date Sun, 08 Dec 2013 19:10:55 GMT
Author: rdonkin
Date: Sun Dec  8 19:10:55 2013
New Revision: 1549125

URL: http://svn.apache.org/r1549125
Log:
Apply PMD Rules.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java?rev=1549125&r1=1549124&r2=1549125&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/DocumentImplUtils.java
Sun Dec  8 19:10:55 2013
@@ -46,7 +46,7 @@ public final class DocumentImplUtils {
 	 *            the file
 	 * @return the string
 	 */
-	public final static String toName(final File file) {
+	public static String toName(final File file) {
 		String path = file.getPath();
 		return path.replace('\\', '/');
 	}
@@ -58,7 +58,7 @@ public final class DocumentImplUtils {
 	 *            the stream
 	 * @return true, if is zip stream
 	 */
-	public static final boolean isZipStream(final InputStream stream) {
+	public static boolean isZipStream(final InputStream stream) {
 		ZipInputStream zip = new ZipInputStream(stream);
 		boolean result = true;
 		try {
@@ -80,7 +80,7 @@ public final class DocumentImplUtils {
 	 *            the file
 	 * @return true, if is zip
 	 */
-	public static final boolean isZip(final File file) {
+	public boolean isZip(final File file) {
 		boolean result;
 		try {
 			result = isZipStream(new FileInputStream(file));



Mime
View raw message