aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-11-07 22:03:31 +0100
committerRoel Spilker <r.spilker@gmail.com>2011-11-07 22:04:42 +0100
commit9433db4ecdf1a525541581a73161ababee0c352c (patch)
treec6a4958b1c6f4e7bea5675f359e3d1188a950076 /website
parente78fa98daab4a8e960c52e5621429125e8e0b872 (diff)
downloadlombok-9433db4ecdf1a525541581a73161ababee0c352c.tar.gz
lombok-9433db4ecdf1a525541581a73161ababee0c352c.tar.bz2
lombok-9433db4ecdf1a525541581a73161ababee0c352c.zip
Don't wrap code in documentation
Diffstat (limited to 'website')
-rw-r--r--website/features/Constructor.html2
-rw-r--r--website/features/features.css2
2 files changed, 3 insertions, 1 deletions
diff --git a/website/features/Constructor.html b/website/features/Constructor.html
index ff32c86b..48c913b4 100644
--- a/website/features/Constructor.html
+++ b/website/features/Constructor.html
@@ -31,7 +31,7 @@
those parameters.
</p><p>
Each of these annotations allows an alternate form, where the generated constructor is always private, and an additional static factory method that wraps around the
- private constructor is generated. This mode is enabled by supplying the <code>staticName</code> value for the annotation, like so: <code>@RequiredArgsConstructor(staticName = "of")</code>.
+ private constructor is generated. This mode is enabled by supplying the <code>staticName</code> value for the annotation, like so: <code>@RequiredArgsConstructor(staticName="of")</code>.
Such a static factory method will infer generics, unlike a normal constructor. This means your API users get write <code>MapEntry.of("foo", 5)</code> instead of the much longer
<code>new MapEntry&lt;String, Integer&gt;("foo", 5)</code>.
</p><p>
diff --git a/website/features/features.css b/website/features/features.css
index a7e8e318..0d5c8102 100644
--- a/website/features/features.css
+++ b/website/features/features.css
@@ -75,6 +75,7 @@ dd {
.overview code {
font-size: 1.1em;
+ white-space: nowrap;
}
.smallprint {
@@ -84,6 +85,7 @@ dd {
.smallprint code {
font-size: 1em;
+ white-space: nowrap;
}
.snippets {