buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [1/5] buildr git commit: Avoid unnecessary brackets
Date Fri, 27 Nov 2015 09:10:35 GMT
Repository: buildr
Updated Branches:
  refs/heads/master 4e2461623 -> f11b0314f


Avoid unnecessary brackets


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/79576b98
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/79576b98
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/79576b98

Branch: refs/heads/master
Commit: 79576b9813411ddba207059a4ebc256110d64e94
Parents: 4e24616
Author: Peter Donald <peter@realityforge.org>
Authored: Fri Nov 27 18:05:35 2015 +1100
Committer: Peter Donald <peter@realityforge.org>
Committed: Fri Nov 27 18:05:35 2015 +1100

----------------------------------------------------------------------
 addon/buildr/checkstyle.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/79576b98/addon/buildr/checkstyle.rb
----------------------------------------------------------------------
diff --git a/addon/buildr/checkstyle.rb b/addon/buildr/checkstyle.rb
index ed5fbea..48f6d79 100644
--- a/addon/buildr/checkstyle.rb
+++ b/addon/buildr/checkstyle.rb
@@ -37,7 +37,7 @@ module Buildr
 
       def checkstyle(configuration_file, format, output_file, source_paths, options = {})
         dependencies = self.dependencies + (options[:dependencies] || [])
-        cp = Buildr.artifacts(dependencies).each { |a| a.invoke() if a.respond_to?(:invoke)
}.map(&:to_s)
+        cp = Buildr.artifacts(dependencies).each { |a| a.invoke if a.respond_to?(:invoke)
}.map(&:to_s)
 
         args = []
         if options[:properties_file]


Mime
View raw message