felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r766414 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
Date Sun, 19 Apr 2009 03:03:49 GMT
Author: rickhall
Date: Sun Apr 19 03:03:49 2009
New Revision: 766414

URL: http://svn.apache.org/viewvc?rev=766414&view=rev
Log:
Fix some formatting.

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java?rev=766414&r1=766413&r2=766414&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
(original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
Sun Apr 19 03:03:49 2009
@@ -1270,19 +1270,19 @@
     {
         if (!getEnclosingClassMethodInitialized)
         {
-	        // Check if we have the getEnclosingClass() method available from
-	        // JDK 1.5.
-	        try
-	        {
-	            getEnclosingClassMethod =
+            // Check if we have the getEnclosingClass() method available from
+            // JDK 1.5.
+            try
+            {
+                getEnclosingClassMethod =
                     Class.class.getDeclaredMethod("getEnclosingClass", null);
-	        }
-	        catch (NoSuchMethodException ex)
-	        {
-	            // Ignore it then.
-	        }
-			getEnclosingClassMethodInitialized = true;
-		}
+            }
+            catch (NoSuchMethodException ex)
+            {
+                // Ignore it then.
+            }
+            getEnclosingClassMethodInitialized = true;
+        }
         if (getEnclosingClassMethod != null)
         {
             try
@@ -1943,4 +1943,4 @@
 
         return sb.toString();
     }
-}
\ No newline at end of file
+}



Mime
View raw message