Skip to content
This repository has been archived by the owner on Jul 1, 2019. It is now read-only.

Commit

Permalink
Rename package jackson -> jacksonlombok
Browse files Browse the repository at this point in the history
  • Loading branch information
0xR committed Nov 24, 2014
1 parent c68f764 commit dd622d7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
@@ -1,4 +1,4 @@
package com.xebia.jackson;
package com.xebia.jacksonlombok;

import java.beans.ConstructorProperties;
import java.lang.annotation.Annotation;
Expand Down
@@ -1,4 +1,4 @@
package com.xebia.jackson;
package com.xebia.jacksonlombok;

import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationHandler;
Expand Down
@@ -1,4 +1,4 @@
package com.xebia.jackson;
package com.xebia.jacksonlombok;

import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
Expand Down
@@ -1,4 +1,4 @@
package com.xebia.jackson;
package com.xebia.jacksonlombok;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand All @@ -20,13 +20,13 @@ public LegacyPojo(String name, String empty, int value, Integer specialInt) {
}

@JsonCreator
public static com.xebia.jackson.LegacyPojo create(@JsonProperty("new_name") String name,
public static com.xebia.jacksonlombok.LegacyPojo create(@JsonProperty("new_name") String name,
@JsonProperty("empty") String empty,
@JsonProperty("value") int value,
@JsonDeserialize(using = TestSupport.IntDeserializer.class)
@JsonSerialize(using = TestSupport.IntSerializer.class)
@JsonProperty("specialInt") Integer specialInt) {
return new com.xebia.jackson.LegacyPojo(name, empty, value, specialInt);
return new com.xebia.jacksonlombok.LegacyPojo(name, empty, value, specialInt);
}

public String getName() {
Expand All @@ -50,7 +50,7 @@ public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;

com.xebia.jackson.LegacyPojo that = (com.xebia.jackson.LegacyPojo) o;
com.xebia.jacksonlombok.LegacyPojo that = (com.xebia.jacksonlombok.LegacyPojo) o;

if (value != that.value) return false;
if (empty != null ? !empty.equals(that.empty) : that.empty != null) return false;
Expand Down
@@ -1,4 +1,4 @@
package com.xebia.jackson;
package com.xebia.jacksonlombok;

import java.io.IOException;

Expand Down

0 comments on commit dd622d7

Please sign in to comment.