Created
November 13, 2012 16:02
-
-
Save oinume/4066605 to your computer and use it in GitHub Desktop.
FreeMarkerで余計な改行が入ってしまう例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jp.ameba.picnic.orm.microbookmark.entity; | |
import javax.persistence.Column; | |
import javax.persistence.Entity; | |
import javax.persistence.GeneratedValue; | |
import javax.persistence.GenerationType; | |
import javax.persistence.Id; | |
import javax.persistence.Table; | |
import javax.persistence.metamodel.StaticMetamodel; | |
import jp.ameba.picnic.orm.Dao; | |
@Entity | |
@Table(name = "user") | |
public class User { | |
@Id | |
@GeneratedValue(strategy = GenerationType.IDENTITY) | |
@Column(name = "id", unique = false) | |
private Integer id; | |
// ここに余計な改行(1) | |
// ここに余計な改行(2) | |
@Column(name = "user_name", unique = true) | |
private String userName; | |
// ここに余計な改行(1) | |
// ここに余計な改行(2) | |
@Column(name = "email", unique = false) | |
private String email; | |
public Integer getId() { | |
return id; | |
} | |
public void setId() { | |
this.id = id; | |
} | |
public String getUserName() { | |
return userName; | |
} | |
public void setUserName() { | |
this.userName = userName; | |
} | |
public String getEmail() { | |
return email; | |
} | |
public void setEmail() { | |
this.email = email; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment