Menu

#45 Typo in AppInfoBlock.java

Minor
closed-fixed
None
5
2003-11-12
2003-09-03
Anonymous
No

When building current CVS astroinfo on Cygwin with
prc-tools and Sun Java SDK 1.4.2 the java compilation
aborts on AppInfoBlock.java.
Turns out there is a double ; where there should be
only one.
Here is the offending section:

public AppInfoBlock() {
}
public String getCategories(int i) {
return categories[i];; <=== replace by single ';'
}
public void setCategories(int i, String cat) {
categories[i] = cat;
}

With a single semicolon the build succeeds.

Ton van Overbeek
v-overbeek@cistron.nl

Discussion

  • Jochen Hoenicke

    Jochen Hoenicke - 2003-11-12

    Logged In: YES
    user_id=18252

    Fixed this.

     
  • Jochen Hoenicke

    Jochen Hoenicke - 2003-11-12
    • assigned_to: nobody --> hoenicke
    • status: open --> closed-fixed
     

Log in to post a comment.