package ch.difty.scipamato.public_.config;

import org.springframework.stereotype.Component;

import ch.difty.scipamato.common.config.MavenProperties;
import ch.difty.scipamato.common.config.core.ApplicationProperties;
import ch.difty.scipamato.common.config.core.AuthorParserStrategy;

/**
 * This bean is used to evaluate all environment properties used in the
 * application in one place and serve those as bean to wherever they are used.
 *
 * @see <a href=
 *      "https://www.petrikainulainen.net/programming/spring-framework/spring-from-the-trenches-injecting-property-values-into-configuration-beans/">https://www.petrikainulainen.net/programming/spring-framework/spring-from-the-trenches-injecting-property-values-into-configuration-beans/</a>
 *
 * @author u.joss
 */
@Component
public class ScipamatoPublicProperties implements ApplicationProperties {

    private final ScipamatoProperties scipamatoPublicProperties;
    private final MavenProperties     mavenProperties;

    public ScipamatoPublicProperties(ScipamatoProperties scipamatoPublicProperties, MavenProperties mavenProperties) {
        this.scipamatoPublicProperties = scipamatoPublicProperties;
        this.mavenProperties = mavenProperties;
    }

    @Override
    public String getBuildVersion() {
        return mavenProperties.getVersion();
    }

    @Override
    public String getDefaultLocalization() {
        return scipamatoPublicProperties.getDefaultLocalization();
    }

    @Override
    public AuthorParserStrategy getAuthorParserStrategy() {
        return null;
    }

    @Override
    public String getBrand() {
        return scipamatoPublicProperties.getBrand();
    }

    @Override
    public long getMinimumPaperNumberToBeRecycled() {
        return 0;
    }

    @Override
    public String getPubmedBaseUrl() {
        return scipamatoPublicProperties.getPubmedBaseUrl();
    }

}

@@ -898,38 +898,32 @@
 rties scipamatoP
-ublicP
 roperties;%0A    p
@@ -913,24 +913,24 @@
 Properties;%0A
+
     private 
@@ -1032,38 +1032,32 @@
 rties scipamatoP
-ublicP
 roperties, Maven
@@ -1101,38 +1101,32 @@
  this.scipamatoP
-ublicP
 roperties = scip
@@ -1123,38 +1123,32 @@
 ies = scipamatoP
-ublicP
 roperties;%0A     
@@ -1377,38 +1377,32 @@
 eturn scipamatoP
-ublicP
 roperties.getDef
@@ -1592,38 +1592,32 @@
 eturn scipamatoP
-ublicP
 roperties.getBra
@@ -1771,24 +1771,24 @@
 BaseUrl() %7B%0A
+
         retu
@@ -1792,38 +1792,32 @@
 eturn scipamatoP
-ublicP
 roperties.getPub

Rename variable holding renamed class