Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

Commit

Permalink
Fix codec module dependency version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
denisneuling committed Mar 4, 2013
1 parent ce1341d commit 54839e7
Show file tree
Hide file tree
Showing 88 changed files with 148 additions and 154 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2012 Denis Neuling
Copyright 2012-2013 Denis Neuling

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion apitrary-api-client/NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2012 Denis Neuling
Copyright 2012-2013 Denis Neuling

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -43,19 +43,19 @@ public abstract class AbstractApitraryClient {

/** Constant <code>apitraryUrl="api.apitrary.com"</code> */
protected static final String apitraryUrl = "api.apitrary.com";

/** Constant <code>protocol="http://"</code> */
protected static final String protocol = "https://";
protected static final String protocol = "http://";

/** Constant <code>apiAuthHeaderKey="X-Api-Key"</code> */
protected static final String apiAuthHeaderKey = "X-Api-Key";

/** Constant <code>contentType="application/json"</code> */
protected static final String contentType = "application/json";

/** Constant <code>DEFAULTCONNECTIONTIMEOUT=60000</code> */
protected static final int DEFAULTCONNECTIONTIMEOUT = 60000;

/** Constant <code>DEFAULTRECEIVETIMEOUT=60000</code> */
protected static final int DEFAULTRECEIVETIMEOUT = 60000;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -60,7 +60,7 @@ public static <T> T getClassAnnotationValue(Class source, Class annotation, Stri
try {
value = (T) instance.annotationType().getMethod(attributeName).invoke(instance);
} catch (Exception ex) {
log.warning(ex.getClass().getSimpleName()+": "+ex.getMessage());
log.warning(ex.getClass().getSimpleName() + ": " + ex.getMessage());
}
}
return value;
Expand Down Expand Up @@ -198,7 +198,7 @@ public static <T> T getValueOf(Field field, Object reference, Class<?> reference
}
return (T) toReturn;
} catch (Exception e) {
log.warning(e.getClass().getSimpleName()+": "+e.getMessage());
log.warning(e.getClass().getSimpleName() + ": " + e.getMessage());
return null;
}
}
Expand Down Expand Up @@ -231,7 +231,7 @@ public static <T> T getValueOf(String fieldName, Object reference, Class<?> refe
T toReturn = (T) field.get(reference);
return toReturn;
} catch (Exception e) {
log.warning(e.getClass().getSimpleName()+": "+e.getMessage());
log.warning(e.getClass().getSimpleName() + ": " + e.getMessage());
return null;
}
}
Expand All @@ -253,9 +253,9 @@ public static Object getValueOfField(Field field, Object ref) {
try {
value = field.get(ref);
} catch (IllegalArgumentException e) {
log.warning(e.getClass().getSimpleName()+": "+e.getMessage());
log.warning(e.getClass().getSimpleName() + ": " + e.getMessage());
} catch (IllegalAccessException e) {
log.warning(e.getClass().getSimpleName()+": "+e.getMessage());
log.warning(e.getClass().getSimpleName() + ": " + e.getMessage());
}
return value;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -51,9 +51,9 @@ public static <T> Normalizer getNormalizer(Response<T> response) {
try {
normalizer = normalizerClazz.newInstance();
} catch (InstantiationException e) {
log.warning(e.getClass().getSimpleName()+": "+e.getMessage());
log.warning(e.getClass().getSimpleName() + ": " + e.getMessage());
} catch (IllegalAccessException e) {
log.warning(e.getClass().getSimpleName()+": "+e.getMessage());
log.warning(e.getClass().getSimpleName() + ": " + e.getMessage());
}
}
return normalizer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion apitrary-api/NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2012 Denis Neuling
Copyright 2012-2013 Denis Neuling

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package com.apitrary.api.common.status;

/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -32,7 +32,7 @@
*/
@Method(HttpMethod.GET)
@Path("/")
public class APIStateRequest extends Request<APIStateResponse> implements Serializable{
public class APIStateRequest extends Request<APIStateResponse> implements Serializable {
private static final long serialVersionUID = -2599282917840158769L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -34,7 +34,7 @@
*/
@Method(HttpMethod.DELETE)
@Path("/${entity}/${id}")
public class DeleteRequest extends Request<DeleteResponse> implements Serializable{
public class DeleteRequest extends Request<DeleteResponse> implements Serializable {
private static final long serialVersionUID = -8265792383976749317L;

@Required
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -35,7 +35,7 @@
*/
@Method(HttpMethod.GET)
@Path("/${entity}/${id}")
public class GetRequest extends Request<GetResponse> implements Serializable{
public class GetRequest extends Request<GetResponse> implements Serializable {
private static final long serialVersionUID = 626610613858401470L;

@Required
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -35,7 +35,7 @@
*/
@Method(HttpMethod.POST)
@Path("/${entity}")
public class PostRequest extends Request<PostResponse> implements Serializable{
public class PostRequest extends Request<PostResponse> implements Serializable {
private static final long serialVersionUID = 7454490450438849781L;

@Required
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -35,7 +35,7 @@
*/
@Method(HttpMethod.PUT)
@Path("/${entity}/${id}")
public class PutRequest extends Request<PutResponse> implements Serializable{
public class PutRequest extends Request<PutResponse> implements Serializable {
private static final long serialVersionUID = 7880320624981198826L;

@Required
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -36,7 +36,7 @@
@Method(HttpMethod.GET)
@Path("/${entity}")
/* a/id || a?q= */
public class QueriedGetRequest extends Request<QueriedGetResponse> implements Serializable{
public class QueriedGetRequest extends Request<QueriedGetResponse> implements Serializable {
private static final long serialVersionUID = 7586680719718414828L;

@Required
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Denis Neuling
* Copyright 2012-2013 Denis Neuling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 54839e7

Please sign in to comment.