You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/12/21 09:32:50 UTC

[3/4] ant git commit: whitespace

whitespace


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/85ff7bf6
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/85ff7bf6
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/85ff7bf6

Branch: refs/heads/master
Commit: 85ff7bf6949f62f760e8f487a2ec6fd0152eef78
Parents: 77c681c
Author: Stefan Bodewig <bo...@apache.org>
Authored: Wed Dec 21 10:32:14 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed Dec 21 10:32:14 2016 +0100

----------------------------------------------------------------------
 .../org/apache/tools/ant/IntrospectionHelper.java   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/85ff7bf6/src/main/org/apache/tools/ant/IntrospectionHelper.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/IntrospectionHelper.java b/src/main/org/apache/tools/ant/IntrospectionHelper.java
index 719f22d..2b31e43 100644
--- a/src/main/org/apache/tools/ant/IntrospectionHelper.java
+++ b/src/main/org/apache/tools/ant/IntrospectionHelper.java
@@ -408,14 +408,14 @@ public final class IntrospectionHelper {
             throw new UnsupportedAttributeException(msg, attributeName);
         }
         if (as != null) { // possible if value == null
-        try {
-            as.setObject(p, element, value);
-        } catch (final IllegalAccessException ie) {
-            // impossible as getMethods should only return public methods
-            throw new BuildException(ie);
-        } catch (final InvocationTargetException ite) {
-            throw extractBuildException(ite);
-        }
+            try {
+                as.setObject(p, element, value);
+            } catch (final IllegalAccessException ie) {
+                // impossible as getMethods should only return public methods
+                throw new BuildException(ie);
+            } catch (final InvocationTargetException ite) {
+                throw extractBuildException(ite);
+            }
         }
     }