ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [3/4] ant git commit: whitespace
Date Wed, 21 Dec 2016 09:32:50 GMT
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 <bodewig@apache.org>
Authored: Wed Dec 21 10:32:14 2016 +0100
Committer: Stefan Bodewig <bodewig@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);
+            }
         }
     }
 


Mime
View raw message