Private constructor (#1324)

* Adding private constructors on Util classes

* Remove obsolete step
This commit is contained in:
joel-leitch 2018-05-21 20:04:22 -07:00 committed by inder123
parent d84e26d80c
commit 4c685b21a8
3 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,6 @@
The following is a step-by-step procedure for releasing a new version of Google-Gson.
1. Go through all open bugs and identify which will be fixed in this release. Mark all others with an appropriate release tag. Identify duplicates, and close the bugs that will never be fixed. Fix all bugs for the release, and mark them fixed.
1. (obsolete step) Edit [`pom.xml`](pom.xml) and update the versions listed for Export-Package to the target version. Also add any new Java packages that have been introduced in Gson.
1. Ensure all changelists are code-reviewed and have +1
1. `cd gson` to the parent directory; ensure there are no open files and all changes are committed.
1. Run `mvn release:clean`

View File

@ -27,4 +27,6 @@ public final class GsonBuildConfig {
/** This field is automatically populated by Maven when a build is triggered */
public static final String VERSION = "${project.version}";
private GsonBuildConfig() { }
}

View File

@ -87,4 +87,6 @@ public final class JavaVersion {
public static boolean isJava9OrLater() {
return majorJavaVersion >= 9;
}
private JavaVersion() { }
}