aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-03-29 14:00:16 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-03-29 14:00:16 +0200
commit7422b28e525127c445af93fbd5e32aff338ea362 (patch)
tree52ad234cd7be86cd275dbf7fcde4b4f419b3d9ca
parentaf9861ad9f7151c6d12f56ecf11d7ce10826201a (diff)
downloadlombok-7422b28e525127c445af93fbd5e32aff338ea362.tar.gz
lombok-7422b28e525127c445af93fbd5e32aff338ea362.tar.bz2
lombok-7422b28e525127c445af93fbd5e32aff338ea362.zip
[trivial] build script fix for website-only: It was adding an &amp; to the full version string every call.
-rw-r--r--src/website/lombok/website/FetchCurrentVersion.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/website/lombok/website/FetchCurrentVersion.java b/src/website/lombok/website/FetchCurrentVersion.java
index 6c1ca639..0d789256 100644
--- a/src/website/lombok/website/FetchCurrentVersion.java
+++ b/src/website/lombok/website/FetchCurrentVersion.java
@@ -23,7 +23,7 @@ public class FetchCurrentVersion {
BufferedReader br = new BufferedReader(new InputStreamReader(in, "UTF-8"));
for (String line = br.readLine(); line != null; line = br.readLine()) {
Matcher m = VERSION_PATTERN.matcher(line);
- if (m.matches() && m.group(1).equals("currentVersionFull") == fetchFull) return m.group(2);
+ if (m.matches() && m.group(1).equals("currentVersionFull") == fetchFull) return m.group(2).replace("&quot;", "\"");
}
throw new IOException("Expected a span with id 'currentVersion'");
} finally {