You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2009/12/28 23:54:43 UTC

svn commit: r894265 - /buildr/trunk/lib/buildr/java/deprecated.rb

Author: boisvert
Date: Mon Dec 28 22:54:42 2009
New Revision: 894265

URL: http://svn.apache.org/viewvc?rev=894265&view=rev
Log:
Fix confusing deprecation message

Modified:
    buildr/trunk/lib/buildr/java/deprecated.rb

Modified: buildr/trunk/lib/buildr/java/deprecated.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/deprecated.rb?rev=894265&r1=894264&r2=894265&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/deprecated.rb (original)
+++ buildr/trunk/lib/buildr/java/deprecated.rb Mon Dec 28 22:54:42 2009
@@ -44,7 +44,7 @@
       Buildr.application.deprecated 'See documentation for new way to access Java code.'
       yield self if block_given?
     end
-    
+
     # *Deprecated:* Use Java.load instead.
     def load
       Buildr.application.deprecated 'Use Java.load instead.'
@@ -66,19 +66,19 @@
     # *Deprecated*: Use Java::Commands.java instead.
     def java(*args, &block)
       return send(:method_missing, :java) if args.empty?
-      Buildr.application.deprecated 'Use Java::Commands.javadoc instead.'
+      Buildr.application.deprecated 'Use Java::Commands.java instead.'
       Commands.java(*args, &block)
     end
 
     # *Deprecated*: Use Java::Commands.apt instead.
     def apt(*args)
-      Buildr.application.deprecated 'Use Java::Commands.javadoc instead.'
+      Buildr.application.deprecated 'Use Java::Commands.apt instead.'
       Commands.apt(*args)
     end
 
     # *Deprecated*: Use Java::Commands.javac instead.
     def javac(*args)
-      Buildr.application.deprecated 'Use Java::Commands.javadoc instead.'
+      Buildr.application.deprecated 'Use Java::Commands.javac instead.'
       Commands.javac(*args)
     end