Fix some formatting.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@766414 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java b/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
index 0fdc861..a66da34 100644
--- a/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
@@ -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
+}