Return-Path: <_www@dev.magnolia.info> Received: from dev.magnolia.info ([213.173.174.20] verified) by mail.obinary.com (CommuniGate Pro SMTP 5.1.10) with ESMTP id 14530538 for svn-list@magnolia.info; Thu, 17 Jul 2008 13:18:55 +0200 Received: by dev.magnolia.info (Postfix, from userid 70) id 7731C69213A; Thu, 17 Jul 2008 13:18:55 +0200 (CEST) MIME-Version: 1.0 X-Mailer: SVN::Notify 2.70: http://search.cpan.org/dist/SVN-Notify/ From: svn@magnolia.info Errors-To: svn@magnolia.info To: svn-list@magnolia.info Subject: [16861] formatting only, no changes Reply-To: dev-list@magnolia.info Content-Type: text/html; charset=UTF-8 Message-Id: <20080717111855.7731C69213A@dev.magnolia.info> Date: Thu, 17 Jul 2008 13:18:55 +0200 (CEST) Content-Transfer-Encoding: quoted-printable
formatting only, no changes
--- magnolia/trunk/magnolia-module-admininterface/sr=
c/main/java/info/magnolia/module/admininterface/SaveHandlerImpl.java 2008=
-07-16 19:40:31 UTC (rev 16860)
+++ magnolia/trunk/magnolia-module-admininterface/src/main/java/info/magn=
olia/module/admininterface/SaveHandlerImpl.java 2008-07-17 11:18:54 UTC (=
rev 16861)
@@ -86,7 +86,8 @@
/**
* This class handels the saving in the dialog=
s. It uses the mgnlSaveInfo parameters sendend from the browser to store
* the data in the node.The structure of the p=
arameter is the following: <br>
- * <code>name, type, valueType, isRichEditValue, encod=
ing</code> <p/> To find the consts see ControlImpl <table&=
gt;
+ * <code>name, type, valueType, isRichEditValue, encodi=
ng</code> <p/> To find the consts see ControlImpl
+ * <table>
* <tr>
* <td>name</td>
* <td>the name of the field</td>
@@ -231,8 +232,8 @@
=20
// FIX for MAGNOLIA-1814
// mark page as changed also f=
or nested paragraph changes
- if(this.getRepository().equals(ContentReposi=
tory.WEBSITE)){
- while(node.getItemType().equals(ItemType.CONTENTNODE=
)){
+ if (this.getRepository().equals(ContentReposi=
tory.WEBSITE)) {
+ while (node.getItemType().equals(ItemType.CONTENTNOD=
E)) {
node =3D node.getParent=
();
node.updateMetaData();
}
@@ -311,7 +312,7 @@
if (log.isDebugEnabled()) {
log.debug("Date has n=
o value. Deleting node data" + name);
}
- if(node.hasNodeData(name)){
+ if (node.hasNodeData(name)) {
node.deleteNodeData(name);
}
}
@@ -355,7 +356,8 @@
=20
/**
* Clean up the linebreaks and
- * <p>, <br>
+ * <p>
+ * , <br>
* tags returned by the rich text editors
* @param valueStr
* @return the cleaned string
@@ -434,7 +436,7 @@
link =3D StringUtils.replace(link,=
"$", "\\$");
=20
imageOrDowloadMatcher.appendReplac=
ement(res, "$1" + link + "$5"); //$NON-NLS-1$
- if(link.startsWith(filesNode.getHandle())){
+ if (link.startsWith(filesNode.getHandle())) {
String fileNodeName =3D StringU=
tils.removeStart(link, filesNode.getHandle() + "/");
fileNodeName =3D StringUtils.s=
ubstringBefore(fileNodeName, "/");
usedFiles.add(fileNodeName);
@@ -444,7 +446,7 @@
// delete not used files
for (Iterator iter =3D filesNode.getNo=
deDataCollection().iterator(); iter.hasNext();) {
NodeData fileNodeData =3D (NodeDat=
a) iter.next();
- if(!usedFiles.contains(fileNodeData.getName())){
+ if (!usedFiles.contains(fileNodeData.getName())) =
{
fileNodeData.delete();
}
}