Skip to content

Commit

Permalink
Update test case for #750 to reflect the mismatched names
Browse files Browse the repository at this point in the history
  • Loading branch information
Shredder121 committed Oct 29, 2014
1 parent a94afa0 commit 4485df4
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package com.mysema.query.domain;

import static org.junit.Assert.assertNotNull;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;

import org.junit.Test;
import static org.junit.Assert.assertNotNull;


public class Generic14Test {

Expand All @@ -22,6 +25,13 @@ public static abstract class BaseReferencablePersistable<PK extends Serializable
@MappedSuperclass
public static class BasePersistable<T extends Serializable> extends AbstractPersistable<T> implements UpdateInfo {

private T id;

@Override
public T getId() {
return id;
}

}

@MappedSuperclass
Expand All @@ -30,6 +40,7 @@ public static abstract class AbstractPersistable<PK extends Serializable> implem
}

public interface Persistable<T> {
T getId();

}

Expand Down

0 comments on commit 4485df4

Please sign in to comment.