File tree Expand file tree Collapse file tree 3 files changed +14
-18
lines changed
main/java/org/culturegraph/mf/morph
test/java/org/culturegraph/mf/morph/maps Expand file tree Collapse file tree 3 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ protected void handleMapClass(final Node mapNode) {
79
79
final String mapName = resolveVars (attributes .remove (ATTRITBUTE .NAME .getString ()));
80
80
final Map <String , String > map ;
81
81
82
- if (mapNode .getLocalName ().equals (JAVA )) {
82
+ if (mapNode .getLocalName ().equals (JAVAMAP )) {
83
83
final String className = resolvedAttribute (mapNode , ATTRITBUTE .CLASS );
84
84
map = ObjectFactory .newInstance (ObjectFactory .loadClass (className , Map .class ));
85
85
attributes .remove (ATTRITBUTE .CLASS .getString ());
Original file line number Diff line number Diff line change 26
26
27
27
</mm : rules >
28
28
<mm : maps >
29
- <<<<<<< HEAD
30
29
<mm : filemap name =" map1" files =" maps/MARCcountries.txt" />
31
- =======
32
- <mm : mapfile name =" map1" files =" maps/MARCcountries.txt" />
33
- >>>>>>> aa24f65812c9ff505b222ab5642df5441f81f4e9
34
30
</mm : maps >
35
31
</mm : metamorph >
36
32
</transformation >
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package org .culturegraph .mf .morph .maps ;
17
-
18
- import org .culturegraph .mf .test .TestSuite ;
19
- import org .culturegraph .mf .test .TestSuite .TestDefinitions ;
20
- import org .junit .runner .RunWith ;
21
-
22
-
23
- /**
24
- * @author Markus Michael Geipel
25
- */
26
- @ RunWith (TestSuite .class )
27
- @ TestDefinitions ("FileMap.xml" )
28
- public final class MapsTest {/*bind to xml test*/ }
16
+ package org .culturegraph .mf .morph .maps ;
17
+
18
+ import org .culturegraph .mf .test .TestSuite ;
19
+ import org .culturegraph .mf .test .TestSuite .TestDefinitions ;
20
+ import org .junit .runner .RunWith ;
21
+
22
+
23
+ /**
24
+ * @author Markus Michael Geipel
25
+ */
26
+ @ RunWith (TestSuite .class )
27
+ @ TestDefinitions ({ "FileMap.xml" , "JavaMap.xml" } )
28
+ public final class MapsTest {/*bind to xml test*/ }
You can’t perform that action at this time.
0 commit comments