Permalink
Browse files

fixed ServiceFactory package

  • Loading branch information...
1 parent ffb4191 commit 1dd7a0fcce5bdfc7052d77f163352f7ff3bca11c mfranic committed Jun 18, 2012
@@ -1,4 +1,4 @@
-package service
+package sppp.service
import net.liftweb.util.Props
import spj.shared.configuration.SpjRemotingClientConfiguration
@@ -4,7 +4,7 @@ import net.liftweb.wizard.Wizard
import net.liftweb.util.FieldError
import net.liftweb.util.Props
-import service.ServiceFactory
+import sppp.service.ServiceFactory
import spj.shared.configuration.SpjRemotingClientConfiguration
import spj.shared.domain.GlavaRazdjel
@@ -3,8 +3,7 @@ package sppp.snippet
import net.liftweb.http.{S, SHtml, StatefulSnippet}
import net.liftweb.util.Helpers._
import net.liftweb.util.Helpers
-import service.ServiceFactory
-import com.google.common.collect.ImmutableList
+import sppp.service.ServiceFactory
import spj.shared.domain.{KorisnikProracuna, GlavaRazdjel}
@@ -49,7 +48,7 @@ class CreateGlavaRazdjel extends StatefulSnippet with SpppSnippet
while(iterator.hasNext)
{
- var korisnikProracuna = iterator.next().asInstanceOf[KorisnikProracuna]
+ var korisnikProracuna = iterator.next()
notice += "\n " + korisnikProracuna.getNaziv + " - " + korisnikProracuna.getGlavaRazdjel.getImeGlave
}

0 comments on commit 1dd7a0f

Please sign in to comment.