[xwiki-notifications] r6585 - xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl
sdumitriu (SVN)
notifications at xwiki.org
Wed Jan 2 13:44:12 CET 2008
Author: sdumitriu
Date: 2008-01-02 13:44:12 +0100 (Wed, 02 Jan 2008)
New Revision: 6585
Modified:
xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ClassPropertySetOperation.java
xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentDeleteOperation.java
xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentInsertOperation.java
xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/PropertySetOperation.java
Log:
XWIKI-1977: Create a patchservice data model
Better toString implementation
Modified: xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ClassPropertySetOperation.java
===================================================================
--- xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ClassPropertySetOperation.java 2008-01-02 12:41:02 UTC (rev 6584)
+++ xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ClassPropertySetOperation.java 2008-01-02 12:44:12 UTC (rev 6585)
@@ -146,7 +146,6 @@
public String toString()
{
- return Operation.TYPE_CLASS_PROPERTY_ADD + ": [" + this.propertyType + "] = "
- + this.propertyConfig;
+ return this.getType() + ": [" + this.propertyType + "] = " + this.propertyConfig;
}
}
Modified: xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentDeleteOperation.java
===================================================================
--- xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentDeleteOperation.java 2008-01-02 12:41:02 UTC (rev 6584)
+++ xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentDeleteOperation.java 2008-01-02 12:44:12 UTC (rev 6585)
@@ -103,7 +103,7 @@
public String toString()
{
- return Operation.TYPE_CONTENT_DELETE + ": [" + this.removedContent + "] at "
+ return this.getType() + ": [" + this.removedContent + "] at "
+ this.position;
}
}
Modified: xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentInsertOperation.java
===================================================================
--- xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentInsertOperation.java 2008-01-02 12:41:02 UTC (rev 6584)
+++ xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/ContentInsertOperation.java 2008-01-02 12:44:12 UTC (rev 6585)
@@ -88,7 +88,6 @@
public String toString()
{
- return Operation.TYPE_CONTENT_INSERT + ": [" + this.addedContent + "] at "
- + this.position;
+ return this.getType() + ": [" + this.addedContent + "] at " + this.position;
}
}
Modified: xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/PropertySetOperation.java
===================================================================
--- xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/PropertySetOperation.java 2008-01-02 12:41:02 UTC (rev 6584)
+++ xwiki-platform/core/trunk/xwiki-patchservice/src/main/java/org/xwiki/platform/patchservice/impl/PropertySetOperation.java 2008-01-02 12:44:12 UTC (rev 6585)
@@ -96,7 +96,6 @@
public String toString()
{
- return Operation.TYPE_PROPERTY_SET + ": [" + this.propertyName + "] to ["
- + this.propertyValue + "]";
+ return this.getType() + ": [" + this.propertyName + "] to [" + this.propertyValue + "]";
}
}
More information about the notifications
mailing list