Skip to content
Snippets Groups Projects
Commit ef1c27a7 authored by Andrea Enrici's avatar Andrea Enrici
Browse files
parents 4b08dd56 23b85be3
No related branches found
No related tags found
No related merge requests found
12357 12358
\ No newline at end of file \ No newline at end of file
...@@ -144,17 +144,34 @@ public class TMLCPLib extends TMLElement { ...@@ -144,17 +144,34 @@ public class TMLCPLib extends TMLElement {
public String toXML() { public String toXML() {
String s = "<TMLCPLIB name=\"" + name + "\" cpMECType=\"" + cpMECType + "\" typeName=\"" + typeName + "\">\n"; String s = "<TMLCPLIB name=\"" + name + "\" cpMECType=\"" + cpMECType + "\" typeName=\"" + typeName + "\">\n";
for(TMLCPLibArtifact arti: artifacts) { if (artifacts != null) {
for(TMLCPLibArtifact arti: artifacts) {
s += arti.toXML(); s += arti.toXML();
}
} }
for(String mu: mappedUnits) {
s += "<MAPPEUNIT unit=\"" + mu + "\" />\n"; if (mappedUnits != null) {
for(String mu: mappedUnits) {
if (mu != null) {
s += "<MAPPEUNIT unit=\"" + mu + "\" />\n";
}
}
} }
for(String aa: assignedAttributes) {
s += "<ASSIGNEDATTRIBUTE attr=\"" + aa + "\" />\n"; if (assignedAttributes!= null) {
for(String aa: assignedAttributes) {
if (aa != null) {
s += "<ASSIGNEDATTRIBUTE attr=\"" + aa + "\" />\n";
}
}
} }
for(Integer i: transferTypes) {
s += "<TRANSFERTYPE type=\"" + i.toString() + "\" />\n"; if (transferTypes != null) {
for(Integer i: transferTypes) {
if (i != null) {
s += "<TRANSFERTYPE type=\"" + i.toString() + "\" />\n";
}
}
} }
s += "</TMLCPLIB>"; s += "</TMLCPLIB>";
return s; return s;
......
...@@ -51,8 +51,8 @@ package ui.util; ...@@ -51,8 +51,8 @@ package ui.util;
*/ */
public class DefaultText { public class DefaultText {
public static String BUILD = "12356"; public static String BUILD = "12357";
public static String DATE = "2017/09/07 02:01:14 CET"; public static String DATE = "2017/09/08 09:10:46 CET";
public static StringBuffer sbAbout = makeAbout(); public static StringBuffer sbAbout = makeAbout();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment