Skip to content
Snippets Groups Projects
Commit 912d7147 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

GREEN

refs 2490
parent e148fb51
No related branches found
No related tags found
No related merge requests found
Showing with 14 additions and 13 deletions
......@@ -42,7 +42,7 @@ import org.osgi.framework.Bundle;
* @author barner
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 1EB8B12E46C5D4738A9D552205E56A0B
* @ConQAT.Rating GREEN Hash: F10473D1A1DE3292FC8190D97C636E71
*/
public abstract class EcoreSerializerBase<R extends EObject> {
......@@ -114,7 +114,8 @@ public abstract class EcoreSerializerBase<R extends EObject> {
if(resource.getContents().isEmpty()) {
return null;
}
// get(0) is guaranteed to be safe
// get(0) is guaranteed to be safe because we just checked that the resource is not empty
// and we pick the first element because we want the root content
return getRootElement(resource.getContents().get(0));
}
......
......@@ -28,7 +28,7 @@ import org.apache.commons.lang.WordUtils;
* @author doebber
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 655690F20BC3825195BAE4BBF9DBE2FA
* @ConQAT.Rating GREEN Hash: 0BCFE18A0C3A2F20A258EEB72B7AD343
*/
public class JavaUtils {
......@@ -68,11 +68,11 @@ public class JavaUtils {
* - Leading whitespace characters in a line are trimmed.
*
* @param str
* The {@link String} to be mapped.
* The {@link String} to be wrapped.
* @param lineWidth
* The number of characters, after which to wrap the line.
* The number of characters after which to wrap the line.
*
* @return The line wrapped String.
* @return The line wrapped {@link String}.
*/
public static String wrapLines(String str, int lineWidth) {
StringBuilder buffer = new StringBuilder();
......
......@@ -40,7 +40,7 @@ import org.fortiss.tooling.kernel.service.IPersistencyService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 088D6A7493ECC5526DBFEB957AC7F793
* @ConQAT.Rating GREEN Hash: BF31918A76294BE52D33989CD96C1A81
*/
public final class KernelModelElementUtils {
......
......@@ -32,10 +32,10 @@ import org.eclipse.emf.ecore.xml.type.AnyType;
/**
* Utility methods for the migrators.
*
* @author SVoss
* @author voss
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 3928E0887F8874121A2E37C5CB49246C
* @ConQAT.Rating GREEN Hash: C8B1C06CB7AF4F5F15E3EFAA74E329C6
*/
public class MigrationUtils {
......
......@@ -29,7 +29,7 @@ import org.fortiss.tooling.kernel.service.IPrototypeService;
* @author ratiu
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating YELLOW Hash: 5F9C004B10A32BA94790427890C62817
* @ConQAT.Rating GREEN Hash: 513A5717547D616D724799B7BA4FF9C1
*/
public class PrototypesUtils {
......
......@@ -46,7 +46,7 @@ import org.fortiss.tooling.kernel.service.IPersistencyService;
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 8DE7BDBD2DA64EBCDCB50F102EAE3350
* @ConQAT.Rating GREEN Hash: 7BDB9BF8F67C10263CEAB1343925DCDD
*/
public final class ResourceUtils {
......
......@@ -31,7 +31,7 @@ import org.fortiss.tooling.kernel.service.ITransformationService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: C95FAFECF426DB58D6533C63F04AFFE6
* @ConQAT.Rating GREEN Hash: 2B265BA13E361871448902118D5275F0
*/
public final class TransformationUtils {
......
......@@ -36,7 +36,7 @@ import org.fortiss.tooling.kernel.service.IPersistencyService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: F4A478E286BB97C8B476C8818BD92F77
* @ConQAT.Rating GREEN Hash: E867A3AA3AD158EF9BF8CF7F535FEF13
*/
public class UniqueIDUtils {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment