Compile Error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile Error

Vallejos, Andrew

I am getting a compile error with the latest checkout of InterMine 0.98.

 

    [javac] Compiling 7 source files to /home/intermine/build/intermine_current/intermine/objectstore/main/build/classes

[dependencies] /home/intermine/build/intermine_current/intermine/objectstore/main/src/org/intermine/objectstore/intermine/ResultsConverter.java:163: 'try' without 'catch' or 'finally'

[dependencies]                             try {

[dependencies]                             ^

[dependencies] /home/intermine/build/intermine_current/intermine/objectstore/main/src/org/intermine/objectstore/intermine/ResultsConverter.java:173: 'else' without 'if'

[dependencies]                             } else if (Short.class.equals(node.getType())

[dependencies]                               ^

[dependencies] 2 errors

 

I looked at the file.  From what I can tell the try block is matched up with an else if block.

 

Thanks,

 

Andrew Vallejos

Web Developer

Biotechnology and Bioengineering Center

Human and Molecular Genomics Center

Medical College of Wisconsin

414-955-4104

[hidden email]

 


_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Compile Error

Vallejos, Andrew

Alright…somewhere these files got out of sync with the repository.  I simply did a revert on the file and that fixed it.

 

 

From: Vallejos, Andrew
Sent: Monday, January 09, 2012 9:55 AM
To: [hidden email]
Subject: Compile Error

 

I am getting a compile error with the latest checkout of InterMine 0.98.

 

    [javac] Compiling 7 source files to /home/intermine/build/intermine_current/intermine/objectstore/main/build/classes

[dependencies] /home/intermine/build/intermine_current/intermine/objectstore/main/src/org/intermine/objectstore/intermine/ResultsConverter.java:163: 'try' without 'catch' or 'finally'

[dependencies]                             try {

[dependencies]                             ^

[dependencies] /home/intermine/build/intermine_current/intermine/objectstore/main/src/org/intermine/objectstore/intermine/ResultsConverter.java:173: 'else' without 'if'

[dependencies]                             } else if (Short.class.equals(node.getType())

[dependencies]                               ^

[dependencies] 2 errors

 

I looked at the file.  From what I can tell the try block is matched up with an else if block.

 

Thanks,

 

Andrew Vallejos

Web Developer

Biotechnology and Bioengineering Center

Human and Molecular Genomics Center

Medical College of Wisconsin

414-955-4104

[hidden email]

 


_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev