~ubuntu-branches/ubuntu/maverick/ant/maverick

« back to all changes in this revision

Viewing changes to src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-09-30 14:47:45 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080930144745-0x8uzivd9t15dua3
Tags: 1.7.1-0ubuntu1
* New upstream version (bug fix release).
  - mainly a bugfix release.
  - has extended support for Java6 features.
  - <script> now has support for JavaFX.
  - release notes: http://apache.linux-mirror.org/ant/README.html
* Remove debian/patches/05_ant-bug433444.patch. Obsoleted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
     * @param sf the spec file name to use.
226
226
     */
227
227
    public void setSpecFile(String sf) {
228
 
        if ((sf == null) || (sf.trim().equals(""))) {
 
228
        if ((sf == null) || (sf.trim().length() == 0)) {
229
229
            throw new BuildException("You must specify a spec file", getLocation());
230
230
        }
231
231
        this.specFile = sf;