aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/core
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-10-16 10:16:03 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-10-16 10:16:03 +0200
commit2d3b98e847b9dc1878b657de97fce2f54104776d (patch)
treea66995df3efe3d1f4c5075ec098a1b7114aabb4d /src/lombok/core
parentb5c8b725655d2ad8a715cfb1fbbdf25dbdcd4ceb (diff)
downloadlombok-2d3b98e847b9dc1878b657de97fce2f54104776d.tar.gz
lombok-2d3b98e847b9dc1878b657de97fce2f54104776d.tar.bz2
lombok-2d3b98e847b9dc1878b657de97fce2f54104776d.zip
Switched all use of <code></code> in javadoc to {@code}.
Diffstat (limited to 'src/lombok/core')
-rw-r--r--src/lombok/core/SpiLoadUtil.java6
-rw-r--r--src/lombok/core/TransformationsUtil.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lombok/core/SpiLoadUtil.java b/src/lombok/core/SpiLoadUtil.java
index 6245cf5b..3031576a 100644
--- a/src/lombok/core/SpiLoadUtil.java
+++ b/src/lombok/core/SpiLoadUtil.java
@@ -41,7 +41,7 @@ import lombok.Lombok;
* The java core libraries have a SPI discovery system, but it works only in Java 1.6 and up. For at least Eclipse,
* lombok actually works in java 1.5, so we've rolled our own SPI discovery system.
*
- * It is not API compatible with <code>ServiceLoader</code>.
+ * It is not API compatible with {@code ServiceLoader}.
*
* @see java.util.ServiceLoader
*/
@@ -57,7 +57,7 @@ public class SpiLoadUtil {
* Like ServiceLoader, each listed class is turned into an instance by calling the public no-args constructor.
*
* Convenience method that calls the more elaborate {@link #findServices(Class, ClassLoader)} method with
- * this {@link java.lang.Thread}'s context class loader as <code>ClassLoader</code>.
+ * this {@link java.lang.Thread}'s context class loader as {@code ClassLoader}.
*
* @param target class to find implementations for.
*/
@@ -129,7 +129,7 @@ public class SpiLoadUtil {
}
/**
- * This method will find the <code>T</code> in <code>public class Foo extends BaseType&lt;T&gt;.
+ * This method will find the @{code T} in {@code public class Foo extends BaseType<T>}.
*
* It returns an annotation type because it is used exclusively to figure out which annotations are
* being handled by {@link lombok.eclipse.EclipseAnnotationHandler} and {@link lombok.javac.JavacAnnotationHandler}.
diff --git a/src/lombok/core/TransformationsUtil.java b/src/lombok/core/TransformationsUtil.java
index 050dc370..6b457927 100644
--- a/src/lombok/core/TransformationsUtil.java
+++ b/src/lombok/core/TransformationsUtil.java
@@ -47,7 +47,7 @@ public class TransformationsUtil {
*
* Strategy:
*
- * First, pick a prefix. 'get' normally, but 'is' if <code>isBoolean</code> is true.
+ * First, pick a prefix. 'get' normally, but 'is' if {@code isBoolean} is true.
*
* Then, check if the first character of the field is lowercase. If so, check if the second character
* exists and is title or upper case. If so, uppercase the first character. If not, titlecase the first character.
@@ -59,7 +59,7 @@ public class TransformationsUtil {
* any prefix.
*
* @param fieldName the name of the field.
- * @param isBoolean if the field is of type 'boolean'. For fields of type 'java.lang.Boolean', you should provide <code>false</code>.
+ * @param isBoolean if the field is of type 'boolean'. For fields of type 'java.lang.Boolean', you should provide {@code false}.
*/
public static String toGetterName(CharSequence fieldName, boolean isBoolean) {
final String prefix = isBoolean ? "is" : "get";