Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def orDefault[T](value:T,default:T)=
- if(value==null) default
- else value
- val lore=orDefault(meta.getLore,new util.ArrayList[String]())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement