Commit 9aea4717 authored by Grégory Mantelet's avatar Grégory Mantelet
Browse files

[TAP] Make the last commit compatible with Java 7.

In Java 8, implementing the function remove() of the interface Iterator<E> is
no longer required if not implemented. But not in Java 7.
parent 3e65794d
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -70,6 +70,9 @@
		<condition><not><isset property="JNDI-API"/></not></condition>
		<condition><not><isset property="JNDI-API"/></not></condition>
	</fail>
	</fail>
	
	
	<!-- JAVA VERSION COMPATIBILITY -->
	<property name="ant.build.javac.source" value="1.7"/>
	<property name="ant.build.javac.target" value="1.7"/>
	
	
	<!-- CLASSPATHS -->
	<!-- CLASSPATHS -->
	<path id="tap.classpath">
	<path id="tap.classpath">
+10 −0
Original line number Original line Diff line number Diff line
@@ -1336,6 +1336,11 @@ public class LargeAsciiTable implements AutoCloseable {
			// Nothing to close in this iterator!
			// Nothing to close in this iterator!
		}
		}


		@Override
		public void remove() throws UnsupportedOperationException{
			throw new UnsupportedOperationException("Impossible to modify a LargeAsciiTable!");
		}

	}
	}


	/**
	/**
@@ -1466,5 +1471,10 @@ public class LargeAsciiTable implements AutoCloseable {
			}
			}
		}
		}


		@Override
		public void remove() throws UnsupportedOperationException{
			throw new UnsupportedOperationException("Impossible to modify a LargeAsciiTable!");
		}

	}
	}
}
}