Skip to content
Snippets Groups Projects
Commit 3ed5cee8 authored by Alfa-J's avatar Alfa-J
Browse files

avomodo privacidad de valoracion

parent 1b6b4717
No related branches found
No related tags found
No related merge requests found
...@@ -30,11 +30,11 @@ public class Valoracion { ...@@ -30,11 +30,11 @@ public class Valoracion {
return usr; return usr;
} }
private DtValoracion getDT(){ public DtValoracion getDT(){
DtValoracion dtV = new DtValoracion(this.val, this.usr.getNickname()); DtValoracion dtV = new DtValoracion(this.val, this.usr.getNickname());
return dtV; return dtV;
} }
private DtValoracion getDT(String nickname){ public DtValoracion getDT(String nickname){
if(nickname==null){ if(nickname==null){
throw new RuntimeException("Nickname No puede ser null"); throw new RuntimeException("Nickname No puede ser null");
} }
...@@ -45,7 +45,7 @@ public class Valoracion { ...@@ -45,7 +45,7 @@ public class Valoracion {
return null; return null;
} }
} }
private boolean modificar(DtValoracion dtV, String nickname){ public boolean modificar(DtValoracion dtV, String nickname){
if(dtV==null){ if(dtV==null){
throw new RuntimeException("DtValoracion No puede ser null"); throw new RuntimeException("DtValoracion No puede ser null");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment