Skip to content

Commit

Permalink
refactored constants and changed some default values
Browse files Browse the repository at this point in the history
  • Loading branch information
ikuraj committed Sep 9, 2012
1 parent 0e39916 commit 84aff9f
Showing 1 changed file with 12 additions and 12 deletions.
Expand Up @@ -2,22 +2,22 @@ package ch.epfl.insynth.core.preferences

object InSynthConstants {

private final val Prefix = "ch.epfl.insynth.properties."
final val OfferedSnippetsPropertyString = Prefix + "snippets"
final val MaximumTimePropertyString = Prefix + "maximumTime"
final val DoSeparateLoggingPropertyString = Prefix + "doInSynthLogging"
final val CodeStyleParenthesesPropertyString = Prefix + "codeStyleParentheses"
final val CodeStyleApplyOmittingPropertyString = Prefix + "codeStyleApply"
final val CodeStyleSimpleApplicationNameTransformPropertyString = Prefix + "codeStyleSimpleApplicationNameTransform"
private final val Prefix = "ch.epfl.insynth.properties." //$NON-NLS-1$
final val OfferedSnippetsPropertyString = Prefix + "snippets" //$NON-NLS-1$
final val MaximumTimePropertyString = Prefix + "maximumTime" //$NON-NLS-1$
final val DoSeparateLoggingPropertyString = Prefix + "doInSynthLogging" //$NON-NLS-1$
final val CodeStyleParenthesesPropertyString = Prefix + "codeStyleParentheses" //$NON-NLS-1$
final val CodeStyleApplyOmittingPropertyString = Prefix + "codeStyleApply" //$NON-NLS-1$
final val CodeStyleSimpleApplicationNameTransformPropertyString = Prefix + "codeStyleSimpleApplicationNameTransform" //$NON-NLS-1$

final val CodeStyleParenthesesClean = "clean"
final val CodeStyleParenthesesClassic = "classic"
final val CodeStyleParenthesesClean = "clean" //$NON-NLS-1$
final val CodeStyleParenthesesClassic = "classic" //$NON-NLS-1$

final val NumberOfOfferedSnippets = 5
final val MaximumTime = 500
final val DoSeparateLogging = false
final val CodeStyleParenthesesDefault = CodeStyleParenthesesClean
final val CodeStyleApplyOmittingPropertyDefault = false
final val CodeStyleSimpleApplicationNameTransformPropertyDefault = false
final val CodeStyleParenthesesDefault = CodeStyleParenthesesClassic
final val CodeStyleApplyOmittingPropertyDefault = true
final val CodeStyleSimpleApplicationNameTransformPropertyDefault = true

}

0 comments on commit 84aff9f

Please sign in to comment.