Skip to content

Commit

Permalink
MidpointInfoContributor uses UTF-8 to read midpoint-system.properties
Browse files Browse the repository at this point in the history
This property file is written in UTF-8, not native2ascii, hence the fix.
  • Loading branch information
virgo47 committed Jan 23, 2020
1 parent aaff36d commit 3a0a410
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -7,7 +7,6 @@
package com.evolveum.midpoint.web.boot.actuator;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.actuate.info.Info.Builder;
import org.springframework.boot.actuate.info.InfoContributor;
import org.springframework.context.annotation.PropertySource;
Expand All @@ -18,7 +17,7 @@
* @author skublik
*/
@Component
@PropertySource("classpath:midpoint-system.properties")
@PropertySource(value = "classpath:midpoint-system.properties", encoding = "UTF-8")
public class MidpointInfoContributor implements InfoContributor {

@Autowired
Expand Down

0 comments on commit 3a0a410

Please sign in to comment.