3 Commits
Author SHA1 Message Date
Enrique Zamudio 3c17b05bbc 1.10.2 2014-12-04 10:30:03 -06:00
Enrique Zamudio 3e3fbaa3fa fix #26 2014-12-04 10:27:55 -06:00
Enrique Zamudio ba486239bd fix #27 2014-12-04 10:27:28 -06:00
3 changed files with 11 additions and 5 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
apply plugin:'java' apply plugin:'java'
apply plugin: 'maven' apply plugin: 'maven'
defaultTasks 'build' defaultTasks 'build'
version='1.10.1' version='1.10.2'
description='Java implementation of the ISO 8583 protocol, focused on making the creation, edition and reading of ISO8583 messages as simple and flexible as possible.' description='Java implementation of the ISO 8583 protocol, focused on making the creation, edition and reading of ISO8583 messages as simple and flexible as possible.'
sourceCompatibility=6 sourceCompatibility=6
targetCompatibility=6 targetCompatibility=6
@@ -17,9 +17,9 @@ configurations {
} }
dependencies { dependencies {
compile 'org.slf4j:slf4j-api:1.7.6' compile 'org.slf4j:slf4j-api:1.7.7'
testCompile 'junit:junit:4.11' testCompile 'junit:junit:4.11'
testRuntime 'org.slf4j:slf4j-simple:1.7.6' testRuntime 'org.slf4j:slf4j-simple:1.7.7'
} }
tasks.javadoc.options.use=true tasks.javadoc.options.use=true
@@ -34,7 +34,7 @@ task sourcesJar(type:Jar) {
classifier='sources' classifier='sources'
} }
tasks.withType(Compile) { Compile compile -> tasks.withType(AbstractCompile) { AbstractCompile compile ->
compile.options.debug = true compile.options.debug = true
compile.options.compilerArgs = ['-Xlint:all'] compile.options.compilerArgs = ['-Xlint:all']
} }
@@ -496,4 +496,10 @@ public class IsoMessage {
} }
} }
/** Remove the specified fields from the message. */
public void removeFields(int... idx) {
for (int i : idx) {
setField(i, null);
}
}
} }
@@ -8,7 +8,7 @@
<!ATTLIST template type NMTOKEN #REQUIRED > <!ATTLIST template type NMTOKEN #REQUIRED >
<!ATTLIST template extends NMTOKEN #IMPLIED > <!ATTLIST template extends NMTOKEN #IMPLIED >
<!ELEMENT parse ( field+ ) > <!ELEMENT parse ( field* ) >
<!ATTLIST parse type NMTOKEN #REQUIRED > <!ATTLIST parse type NMTOKEN #REQUIRED >
<!ATTLIST parse extends NMTOKEN #IMPLIED > <!ATTLIST parse extends NMTOKEN #IMPLIED >