diff --git a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java index 95bc343aed..899b237e5a 100644 --- a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java +++ b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java @@ -266,8 +266,8 @@ private String getUnqualifiedVersion() { } protected Date getBuildTimestamp() throws MojoExecutionException { - String hint = (timestampProvider != null) ? timestampProvider : DefaultBuildTimestampProvider.ROLE_HINT; - BuildTimestampProvider provider = timestampProviders.get(hint); + String hint = timestampProvider != null ? timestampProvider : DefaultBuildTimestampProvider.ROLE_HINT; + BuildTimestampProvider provider = timestampProviders.get(hint); if (provider == null) { throw new MojoExecutionException("Unable to lookup BuildTimestampProvider with hint='" + hint + "'"); }