diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-08-30 22:13:04 +0600 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-08-30 22:13:04 +0600 |
commit | e69ba4dbb015949c5d84ba7bbb0b53efac28bb23 (patch) | |
tree | 44cbe6d78216fcb3c37c0aca1dc7ed3fc09906fa /org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Stubs.java | |
parent | a888d873ac20357a4a11029bc84c5c4b48e394a3 (diff) | |
download | jacoco-e69ba4dbb015949c5d84ba7bbb0b53efac28bb23.tar.gz |
Fix EOLs
Diffstat (limited to 'org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Stubs.java')
-rw-r--r-- | org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Stubs.java | 214 |
1 files changed, 107 insertions, 107 deletions
diff --git a/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Stubs.java b/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Stubs.java index 110664b5..15889173 100644 --- a/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Stubs.java +++ b/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Stubs.java @@ -1,107 +1,107 @@ -/*******************************************************************************
- * Copyright (c) 2009, 2012 Mountainminds GmbH & Co. KG and Contributors
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Marc R. Hoffmann - initial API and implementation
- *
- *******************************************************************************/
-package org.jacoco.core.test.validation.targets;
-
-/**
- * Collection of stub methods that are called from the coverage targets. *
- */
-public class Stubs {
-
- /**
- * Exception stub.
- */
- public static class StubException extends RuntimeException {
-
- static final long serialVersionUID = 0L;
-
- }
-
- /**
- * Superclass stub.
- */
- public static class SuperClass {
-
- public SuperClass(boolean arg) {
- }
-
- }
-
- /**
- * Dummy method.
- */
- public static void nop() {
- }
-
- /**
- * Dummy method.
- */
- public static void nop(int i) {
- }
-
- /**
- * Dummy method.
- */
- public static void nop(boolean b) {
- }
-
- /**
- * Dummy method.
- */
- public static void nop(Object o) {
- }
-
- /**
- * @return always <code>true</code>
- */
- public static boolean t() {
- return true;
- }
-
- /**
- * @return always <code>false</code>
- */
- public static boolean f() {
- return false;
- }
-
- /**
- * @return always <code>1</code>
- */
- public static int i1() {
- return 1;
- }
-
- /**
- * @return always <code>3</code>
- */
- public static int i2() {
- return 2;
- }
-
- /**
- * @return always <code>3</code>
- */
- public static int i3() {
- return 3;
- }
-
- /**
- * Always throws a {@link RuntimeException}.
- *
- * @throws StubException
- * always thrown
- */
- public static void ex() throws StubException {
- throw new StubException();
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2009, 2012 Mountainminds GmbH & Co. KG and Contributors + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Marc R. Hoffmann - initial API and implementation + * + *******************************************************************************/ +package org.jacoco.core.test.validation.targets; + +/** + * Collection of stub methods that are called from the coverage targets. * + */ +public class Stubs { + + /** + * Exception stub. + */ + public static class StubException extends RuntimeException { + + static final long serialVersionUID = 0L; + + } + + /** + * Superclass stub. + */ + public static class SuperClass { + + public SuperClass(boolean arg) { + } + + } + + /** + * Dummy method. + */ + public static void nop() { + } + + /** + * Dummy method. + */ + public static void nop(int i) { + } + + /** + * Dummy method. + */ + public static void nop(boolean b) { + } + + /** + * Dummy method. + */ + public static void nop(Object o) { + } + + /** + * @return always <code>true</code> + */ + public static boolean t() { + return true; + } + + /** + * @return always <code>false</code> + */ + public static boolean f() { + return false; + } + + /** + * @return always <code>1</code> + */ + public static int i1() { + return 1; + } + + /** + * @return always <code>3</code> + */ + public static int i2() { + return 2; + } + + /** + * @return always <code>3</code> + */ + public static int i3() { + return 3; + } + + /** + * Always throws a {@link RuntimeException}. + * + * @throws StubException + * always thrown + */ + public static void ex() throws StubException { + throw new StubException(); + } + +} |