mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
@@ -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)
|
||||
*
|
||||
|
@@ -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(']');
|
||||
|
Reference in New Issue
Block a user