Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
c4f6c5dd
Commit
c4f6c5dd
authored
Mar 10, 2015
by
helene ortiz
Browse files
No commit message
No commit message
parent
fcc9753a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/fr/ill/ics/util/ConfigManager.java
View file @
c4f6c5dd
...
...
@@ -371,6 +371,8 @@ public class ConfigManager {
propertyValue
=
propertyValue
.
replace
(
"~angstrom"
,
SpecialCharacter
.
angstrom
);
propertyValue
=
propertyValue
.
replace
(
"~superscriptminus"
,
SpecialCharacter
.
superscriptminus
);
propertyValue
=
propertyValue
.
replace
(
"~superscriptone"
,
SpecialCharacter
.
superscriptone
);
propertyValue
=
propertyValue
.
replace
(
"~superscripttwo"
,
SpecialCharacter
.
superscripttwo
);
propertyValue
=
propertyValue
.
replace
(
"~superscriptthree"
,
SpecialCharacter
.
superscriptthree
);
propertyValue
=
propertyValue
.
replace
(
"~cross"
,
SpecialCharacter
.
cross
);
properties
.
put
(
propertyName
,
propertyValue
);
}
...
...
src/fr/ill/ics/util/SpecialCharacter.java
View file @
c4f6c5dd
...
...
@@ -60,6 +60,8 @@ public abstract class SpecialCharacter {
public
static
final
String
angstromminusone
=
"\u00C5\u207B\u00B9"
;
public
static
final
String
superscriptminus
=
"\u207B"
;
public
static
final
String
superscriptone
=
"\u00B9"
;
public
static
final
String
superscripttwo
=
"\u00B2"
;
public
static
final
String
superscriptthree
=
"\u00B3"
;
public
static
final
String
cross
=
"\u00D7"
;
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment