- Timestamp:
- Sep 20, 2010, 8:51:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/service/TagService.java
r6968 r6980 45 45 .getLog(TagService.class); 46 46 47 /** 48 * The instance, to use a singleton 49 */ 47 50 private static TagService instance; 48 51 52 /** 53 * @return the singleton 54 */ 49 55 public static TagService getInstance() { 50 56 if (instance == null) { … … 77 83 */ 78 84 public boolean creer(String nom) throws IOException { 79 Tag tag = new Tag(nom); 85 Tag tag = new Tag(); 86 tag.setNom(nom); 80 87 return TagDao.getInstance().creer(tag); 81 88 }
Note: See TracChangeset
for help on using the changeset viewer.