Clean up Rfc8040 45/51745/2
authorRobert Varga <rovarga@cisco.com>
Thu, 9 Feb 2017 09:47:11 +0000 (10:47 +0100)
committerJakub Toth <jatoth@cisco.com>
Sat, 11 Feb 2017 11:49:20 +0000 (11:49 +0000)
commit864eda5c4fa9a3e0b27ff1d953e7dc9d8640bb4d
treedc75e8435cd05988034e1a26ff398250390249c5
parente20c6ea2ee0eb1ed81ade03214a8aaa98db66a6a
Clean up Rfc8040

- use URI.create() as we know the format is correct
- use SimpleDateFormatUtil
- make sure constants are constant
- QName contants should be interned
- throw ExceptionInInitializerError on constant init failure

Change-Id: Ice3cb7fcff8617217a235d830fd7aa5dec1bd26d
Signed-off-by: Robert Varga <rovarga@cisco.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/Rfc8040.java