Repository: buildr
Updated Branches:
  refs/heads/master 749991e4c -> 4ceca8b8e


Prefer single quotes


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

Branch: refs/heads/master
Commit: 7fcf25f551b26efa6412c10cf4b63b267ec891fe
Parents: 749991e
Author: Peter Donald <[email protected]>
Authored: Sun Sep 20 16:50:50 2015 +1000
Committer: Peter Donald <[email protected]>
Committed: Sun Sep 20 16:50:50 2015 +1000

----------------------------------------------------------------------
 addon/buildr/jaxb_xjc.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/7fcf25f5/addon/buildr/jaxb_xjc.rb
----------------------------------------------------------------------
diff --git a/addon/buildr/jaxb_xjc.rb b/addon/buildr/jaxb_xjc.rb
index 1852f8b..de7b04c 100644
--- a/addon/buildr/jaxb_xjc.rb
+++ b/addon/buildr/jaxb_xjc.rb
@@ -18,7 +18,7 @@ module Buildr
     class << self
 
       def jaxb_version
-        "2.2.1"
+        '2.2.1'
       end
 
       # The specs for requirements
@@ -32,7 +32,7 @@ module Buildr
 
       # Repositories containing the requirements
       def remote_repository
-        "http://download.java.net/maven/2";
+        'http://download.java.net/maven/2'
       end
 
       def xjc(*args)
@@ -57,8 +57,8 @@ module Buildr
       file(timestamp_file => files.flatten) do |task|
         rm_rf target_dir unless options[:keep_content]
         mkdir_p target_dir
-        args << "-d" << target_dir
-        args << "-p" << options[:package] if options[:package]
+        args << '-d' << target_dir
+        args << '-p' << options[:package] if options[:package]
         args += files.collect{|f| f.to_s}
         JaxbXjc.xjc args
         touch timestamp_file

Reply via email to