You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/11 19:58:49 UTC

svn commit: r1531375 - /buildr/trunk/spec/java/ecj_spec.rb

Author: donaldp
Date: Fri Oct 11 17:58:49 2013
New Revision: 1531375

URL: http://svn.apache.org/r1531375
Log:
Whitespace

Modified:
    buildr/trunk/spec/java/ecj_spec.rb

Modified: buildr/trunk/spec/java/ecj_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/java/ecj_spec.rb?rev=1531375&r1=1531374&r2=1531375&view=diff
==============================================================================
--- buildr/trunk/spec/java/ecj_spec.rb (original)
+++ buildr/trunk/spec/java/ecj_spec.rb Fri Oct 11 17:58:49 2013
@@ -15,20 +15,15 @@
 
 require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers'))
 
-
-
 describe Buildr::Compiler::Ecj do
 
   before(:all) do
     #Make ecj appear as a compiler that applies:
     class Buildr::Compiler::Ecj
       class << self
-
         def applies_to?(project, task)
           paths = task.sources + [sources].flatten.map { |src| Array(project.path_to(:source, task.usage, src.to_sym)) }
-          paths.flatten!
-
-          paths.each { |path|
+          paths.flatten.each { |path|
             path = path.to_s
             Find.find(path) {|found|
               if (!File.directory?(found)) && found.match(/.*\.#{Array(source_ext).join('|')}/)
@@ -97,11 +92,8 @@ describe Buildr::Compiler::Ecj do
     #Make ecj appear as a compiler that doesn't apply:
     module Buildr
       module Compiler
-
         class Ecj
-
           class << self
-
             def applies_to?(project, task)
               false
             end