src/Pure/General/position.scala
changeset 27989 a4fdc97cd2ff
parent 27968 85b5f024d94b
child 27993 6dd90ef9f927
equal deleted inserted replaced
27988:efc6d38d16d2 27989:a4fdc97cd2ff
    11 
    11 
    12 
    12 
    13 object Position {
    13 object Position {
    14 
    14 
    15   private def get_string(name: String, props: Properties) = {
    15   private def get_string(name: String, props: Properties) = {
    16     val value = props.getProperty(name)
    16     val value = if (props != null) props.getProperty(name) else null
    17     if (value != null) Some(value) else None
    17     if (value != null) Some(value) else None
    18   }
    18   }
    19 
    19 
    20   private def get_int(name: String, props: Properties) = {
    20   private def get_int(name: String, props: Properties) = {
    21     get_string(name, props) match {
    21     get_string(name, props) match {