Author: cziegeler
Date: Fri Aug 7 11:50:20 2009
New Revision: 801957
URL: http://svn.apache.org/viewvc?rev=801957&view=rev
Log:
Use string builder instead of string buffer.
Modified:
sling/trunk/contrib/jcr/prefs/src/main/java/org/apache/sling/jcr/prefs/impl/JcrBackingStore.java
Modified:
sling/trunk/contrib/jcr/prefs/src/main/java/org/apache/sling/jcr/prefs/impl/JcrBackingStore.java
URL:
http://svn.apache.org/viewvc/sling/trunk/contrib/jcr/prefs/src/main/java/org/apache/sling/jcr/prefs/impl/JcrBackingStore.java?rev=801957&r1=801956&r2=801957&view=diff
==============================================================================
---
sling/trunk/contrib/jcr/prefs/src/main/java/org/apache/sling/jcr/prefs/impl/JcrBackingStore.java
(original)
+++
sling/trunk/contrib/jcr/prefs/src/main/java/org/apache/sling/jcr/prefs/impl/JcrBackingStore.java
Fri Aug 7 11:50:20 2009
@@ -158,7 +158,7 @@
*/
protected String getNodePath(PreferencesImpl prefs) {
final PreferencesDescription desc = prefs.getDescription();
- final StringBuffer buffer = new StringBuffer(this.rootNodePath);
+ final StringBuilder buffer = new StringBuilder(this.rootNodePath);
buffer.append('/');
buffer.append(desc.getBundleId());
buffer.append('/');
@@ -184,7 +184,7 @@
* @return
*/
protected String getNodePath(PreferencesDescription desc) {
- final StringBuffer buffer = new StringBuffer(this.rootNodePath);
+ final StringBuilder buffer = new StringBuilder(this.rootNodePath);
buffer.append('/');
buffer.append(desc.getBundleId());
buffer.append('/');