Skip to content

Commit

Permalink
Style update: use upper camel case for constant in ScalaPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dotta committed Jun 27, 2012
1 parent 7457f4b commit 616fab1
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -40,7 +40,8 @@ import scala.tools.nsc.Settings
import scala.tools.eclipse.ui.PartAdapter

object ScalaPlugin {

private final val HeadlessTest = "sdtcore.headless"

@volatile var plugin: ScalaPlugin = _

def prefStore = plugin.getPreferenceStore
Expand Down Expand Up @@ -70,8 +71,6 @@ object ScalaPlugin {
}

class ScalaPlugin extends AbstractUIPlugin with PluginLogConfigurator with IResourceChangeListener with IElementChangedListener with PartAdapter with HasLogger {
final val HEADLESS_TEST = "sdtcore.headless"

def pluginId = "org.scala-ide.sdt.core"
def compilerPluginId = "org.scala-ide.scala.compiler"
def libraryPluginId = "org.scala-ide.scala.library"
Expand Down Expand Up @@ -181,7 +180,7 @@ class ScalaPlugin extends AbstractUIPlugin with PluginLogConfigurator with IReso
lazy val reflectSources = pathInBundle(scalaCompilerBundle, "/lib/scala-reflect-src.jar")

lazy val templateManager = new ScalaTemplateManager()
lazy val headlessMode = System.getProperty(HEADLESS_TEST) ne null
lazy val headlessMode = System.getProperty(ScalaPlugin.HeadlessTest) ne null

private val projects = new mutable.HashMap[IProject, ScalaProject]

Expand Down

0 comments on commit 616fab1

Please sign in to comment.