Clean up Rfc8040 14/51614/1
authorRobert Varga <rovarga@cisco.com>
Thu, 9 Feb 2017 09:47:11 +0000 (10:47 +0100)
committerRobert Varga <rovarga@cisco.com>
Thu, 9 Feb 2017 09:47:11 +0000 (10:47 +0100)
commit6fec05fad0e7e0cbc7de448e04bf903f2ee808a4
tree190b58928b51fff9379af87c53141d18d294869e
parentddd6b9224cbd5de5153710a266f55e548ada03a7
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