Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

125219 jkaabimofrad: Fixed minor formatting issue in the toString methods. Also, removed unused imports.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 11:52:02 +00:00
parent 51916b4759
commit 8149920748
5 changed files with 9 additions and 15 deletions

View File

@@ -86,10 +86,10 @@ public class ContentInfo
public String toString()
{
final StringBuilder sb = new StringBuilder(150);
sb.append("ContentInfo [mimeType='").append(mimeType)
.append(", mimeTypeName='").append(mimeTypeName)
sb.append("ContentInfo [mimeType=").append(mimeType)
.append(", mimeTypeName=").append(mimeTypeName)
.append(", sizeInBytes=").append(sizeInBytes)
.append(", encoding='").append(encoding)
.append(", encoding=").append(encoding)
.append(']');
return sb.toString();
}

View File

@@ -18,16 +18,11 @@
*/
package org.alfresco.rest.api.tests.client.data;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.alfresco.service.cmr.repository.NodeRef;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.List;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
/**
* Representation of a path info (initially for client tests for File Folder API)
*

View File

@@ -111,7 +111,7 @@ public class Rendition implements ExpectedComparison, Comparable<Rendition>
public String toString()
{
final StringBuilder sb = new StringBuilder(150);
sb.append("Rendition [id='").append(id)
sb.append("Rendition [id=").append(id)
.append(", status=").append(status)
.append(", contentInfo=").append(contentInfo)
.append(']');