You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2009/04/19 05:03:49 UTC
svn commit: r766414 -
/felix/trunk/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
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
+}