commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1209996 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/FileSystem.java
Date Sat, 03 Dec 2011 20:24:21 GMT
Author: oheger
Date: Sat Dec  3 20:24:21 2011
New Revision: 1209996

URL: http://svn.apache.org/viewvc?rev=1209996&view=rev
Log:
Java 1.5 compatibility: raw types.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/FileSystem.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/FileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/FileSystem.java?rev=1209996&r1=1209995&r2=1209996&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/FileSystem.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/FileSystem.java
Sat Dec  3 20:24:21 2011
@@ -16,21 +16,22 @@
  */
 package org.apache.commons.configuration;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.commons.logging.impl.NoOpLog;
-
+import java.io.File;
 import java.io.InputStream;
 import java.io.OutputStream;
-import java.io.File;
-import java.net.URL;
 import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.commons.logging.impl.NoOpLog;
 
 /**
  * Abstract layer to allow various types of file systems.
  * @since 1.7
  * @author <a
  * href="http://commons.apache.org/configuration/team-list.html">Commons Configuration
team</a>
+ * @version $Id:$
  */
 public abstract class FileSystem
 {
@@ -84,7 +85,7 @@ public abstract class FileSystem
 
             try
             {
-                Class clazz = Class.forName(fsClassName);
+                Class<?> clazz = Class.forName(fsClassName);
                 if (FileSystem.class.isAssignableFrom(clazz))
                 {
                     fileSystem = (FileSystem) clazz.newInstance();



Mime
View raw message