mirror of https://github.com/apache/jclouds.git
removed jcip dep
This commit is contained in:
parent
4331f63265
commit
23a74bbbe7
|
@ -73,11 +73,6 @@
|
||||||
<artifactId>jsr250-api</artifactId>
|
<artifactId>jsr250-api</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>net.jcip</groupId>
|
|
||||||
<artifactId>jcip-annotations</artifactId>
|
|
||||||
<version>1.0</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mortbay.jetty</groupId>
|
<groupId>org.mortbay.jetty</groupId>
|
||||||
<artifactId>jetty</artifactId>
|
<artifactId>jetty</artifactId>
|
||||||
|
|
|
@ -25,9 +25,6 @@ import java.util.Locale;
|
||||||
import java.util.SimpleTimeZone;
|
import java.util.SimpleTimeZone;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
import net.jcip.annotations.GuardedBy;
|
|
||||||
import net.jcip.annotations.ThreadSafe;
|
|
||||||
|
|
||||||
import org.jclouds.date.DateService;
|
import org.jclouds.date.DateService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -37,25 +34,24 @@ import org.jclouds.date.DateService;
|
||||||
* @author Adrian Cole
|
* @author Adrian Cole
|
||||||
* @author James Murty
|
* @author James Murty
|
||||||
*/
|
*/
|
||||||
@ThreadSafe
|
|
||||||
public class SimpleDateFormatDateService implements DateService {
|
public class SimpleDateFormatDateService implements DateService {
|
||||||
/*
|
/*
|
||||||
* Use default Java Date/SimpleDateFormat classes for date manipulation, but be *very* careful to
|
* Use default Java Date/SimpleDateFormat classes for date manipulation, but be *very* careful to
|
||||||
* guard against the lack of thread safety.
|
* guard against the lack of thread safety.
|
||||||
*/
|
*/
|
||||||
@GuardedBy("this")
|
//@GuardedBy("this")
|
||||||
private static final SimpleDateFormat iso8601SecondsSimpleDateFormat = new SimpleDateFormat(
|
private static final SimpleDateFormat iso8601SecondsSimpleDateFormat = new SimpleDateFormat(
|
||||||
"yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US);
|
"yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US);
|
||||||
|
|
||||||
@GuardedBy("this")
|
//@GuardedBy("this")
|
||||||
private static final SimpleDateFormat iso8601SimpleDateFormat = new SimpleDateFormat(
|
private static final SimpleDateFormat iso8601SimpleDateFormat = new SimpleDateFormat(
|
||||||
"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US);
|
"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US);
|
||||||
|
|
||||||
@GuardedBy("this")
|
//@GuardedBy("this")
|
||||||
private static final SimpleDateFormat rfc822SimpleDateFormat = new SimpleDateFormat(
|
private static final SimpleDateFormat rfc822SimpleDateFormat = new SimpleDateFormat(
|
||||||
"EEE, dd MMM yyyy HH:mm:ss z", Locale.US);
|
"EEE, dd MMM yyyy HH:mm:ss z", Locale.US);
|
||||||
|
|
||||||
@GuardedBy("this")
|
//@GuardedBy("this")
|
||||||
private static final SimpleDateFormat cSimpleDateFormat = new SimpleDateFormat(
|
private static final SimpleDateFormat cSimpleDateFormat = new SimpleDateFormat(
|
||||||
"EEE MMM dd HH:mm:ss '+0000' yyyy", Locale.US);
|
"EEE MMM dd HH:mm:ss '+0000' yyyy", Locale.US);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue