While fixing another bug, I came across a compile error in the uimaj-cpe
project in svn:  in the file:
uimaj-cpe/src/test/java/org/apache/uima/collection/impl/SingleDocCollectionReader.java
which has this line: assert(!done);   in the code fragment:

  public void getNext(CAS aCAS) throws IOException, CollectionException {
    assert(!done);

This raises an error on my compilation - because the "assert" keyword is
something only for Java 5 and onward.

Do others see this?  If not, how does this compile?  The maven "mvn
eclipse:eclipse" command sets the "settings" for this project to Java
src = 1.4 and target = 1.4.

I must be missing something obvious ...  -Marshall

Reply via email to