buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [3/7] git commit: Use single quotes
Date Fri, 25 Jul 2014 21:27:36 GMT
Use single quotes


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

Branch: refs/heads/master
Commit: 46d52d75eb921d7730f02abc71ffa4f871caab21
Parents: 35a8d65
Author: Peter Donald <peter@realityforge.org>
Authored: Sat Jul 26 07:21:08 2014 +1000
Committer: Peter Donald <peter@realityforge.org>
Committed: Sat Jul 26 07:21:08 2014 +1000

----------------------------------------------------------------------
 addon/buildr/findbugs.rb | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/46d52d75/addon/buildr/findbugs.rb
----------------------------------------------------------------------
diff --git a/addon/buildr/findbugs.rb b/addon/buildr/findbugs.rb
index 7ae34e9..f6459b6 100644
--- a/addon/buildr/findbugs.rb
+++ b/addon/buildr/findbugs.rb
@@ -150,7 +150,7 @@ module Buildr
       attr_writer :java_args
 
       def java_args
-        @java_args || "-server -Xss1m -Xmx800m -Duser.language=en -Duser.region=EN "
+        @java_args || '-server -Xss1m -Xmx800m -Duser.language=en -Duser.region=EN '
       end
 
       def source_paths
@@ -184,11 +184,10 @@ module Buildr
 
       after_define do |project|
         if project.findbugs.enabled?
-          desc "Generate findbugs xml report."
-          project.task("findbugs:xml") do
-            puts "Findbugs: Analyzing source code..."
+          desc 'Generate findbugs xml report.'
+          project.task('findbugs:xml') do
+            puts 'Findbugs: Analyzing source code...'
             mkdir_p File.dirname(project.findbugs.xml_output_file)
-
             options =
               {
                 :properties => project.findbugs.properties,


Mime
View raw message