Author: shawkins
Date: 2012-08-31 15:28:05 -0400 (Fri, 31 Aug 2012)
New Revision: 4390
Modified:
trunk/admin/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java
Log:
TEIID-2173 adding clearMessages
Modified: trunk/admin/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java
===================================================================
--- trunk/admin/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java 2012-08-31
19:27:33 UTC (rev 4389)
+++ trunk/admin/src/main/java/org/teiid/adminapi/impl/ModelMetaData.java 2012-08-31
19:28:05 UTC (rev 4390)
@@ -236,10 +236,13 @@
}
public synchronized void clearRuntimeMessages() {
- if (runtimeMessages != null) {
- runtimeMessages = null;
- }
- }
+ runtimeMessages = null;
+ }
+
+ public synchronized void clearMessages() {
+ clearRuntimeMessages();
+ this.messages = null;
+ }
public static class Message implements Serializable{
private static final long serialVersionUID = 2044197069467559527L;
@@ -334,4 +337,6 @@
return allErrors;
}
+
+
}
Show replies by date