Skip to content
Permalink
Browse files

added language especification from default encoding and not hardwired…

… en string
  • Loading branch information...
carlosbpf committed Mar 8, 2019
1 parent 541bc40 commit 121d9db0affe9347bd9bbf02089927d1708468b0
@@ -8,6 +8,7 @@
import org.springframework.stereotype.Repository;

import org.xcolab.model.tables.pojos.ConfigurationAttribute;
import org.xcolab.util.i18n.I18nUtils;

import java.util.Optional;

@@ -16,7 +17,7 @@
@Repository
public class ConfigurationAttributeDaoImpl implements ConfigurationAttributeDao {

private static final String DEFAULT_LOCALE = "en";
private static final String DEFAULT_LOCALE = I18nUtils.DEFAULT_LANGUAGE;

private final DSLContext dslContext;

@@ -8,6 +8,7 @@
import org.springframework.stereotype.Repository;

import org.xcolab.model.tables.pojos.ContestTypeAttribute;
import org.xcolab.util.i18n.I18nUtils;

import java.util.List;
import java.util.Optional;
@@ -17,7 +18,7 @@
@Repository
public class ContestTypeAttributeDaoImpl implements ContestTypeAttributeDao {

private static final String DEFAULT_LOCALE = "en";
private static final String DEFAULT_LOCALE = I18nUtils.DEFAULT_LANGUAGE;

private final DSLContext dslContext;

0 comments on commit 121d9db

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.