You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2016/03/05 13:51:22 UTC

[2/2] groovy git commit: test more javadoc code examples

test more javadoc code examples


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/c80a3077
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/c80a3077
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/c80a3077

Branch: refs/heads/master
Commit: c80a3077780602c362c9703950d8286e0c1292ee
Parents: 086f8df
Author: pascalschumacher <pa...@gmx.net>
Authored: Sat Mar 5 13:51:10 2016 +0100
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sat Mar 5 13:51:10 2016 +0100

----------------------------------------------------------------------
 src/main/groovy/transform/SourceURI.java               | 2 +-
 src/main/groovy/transform/builder/DefaultStrategy.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/c80a3077/src/main/groovy/transform/SourceURI.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/transform/SourceURI.java b/src/main/groovy/transform/SourceURI.java
index a3600d2..4104369 100644
--- a/src/main/groovy/transform/SourceURI.java
+++ b/src/main/groovy/transform/SourceURI.java
@@ -37,7 +37,7 @@ import java.lang.annotation.Target;
  * </p>
  *
  * Example usage:
- * <pre>
+ * <pre class="groovyTestCase">
  * {@code @groovy.transform.SourceURI} def sourceURI
  *
  * assert sourceURI instanceof java.net.URI

http://git-wip-us.apache.org/repos/asf/groovy/blob/c80a3077/src/main/groovy/transform/builder/DefaultStrategy.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/transform/builder/DefaultStrategy.java b/src/main/groovy/transform/builder/DefaultStrategy.java
index 291f50e..117273c 100644
--- a/src/main/groovy/transform/builder/DefaultStrategy.java
+++ b/src/main/groovy/transform/builder/DefaultStrategy.java
@@ -85,8 +85,8 @@ import static org.objectweb.asm.Opcodes.ACC_STATIC;
  * </pre>
  * The {@code prefix} annotation attribute can be used to create setters with a different naming convention. The default is the
  * empty string but you could change that to "set" as follows:
- * <pre>
- * {@code @Builder}(prefix='set')
+ * <pre class="groovyTestCase">
+ * {@code @groovy.transform.builder.Builder}(prefix='set')
  * class Person {
  *     String firstName
  *     String lastName