Skip to content

Commit

Permalink
server: Move the IPAddress value to the values package
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexITC committed Feb 17, 2019
1 parent 29b8b58 commit f67d783
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.xsn.explorer.models
package com.xsn.explorer.models.values

import com.alexitc.playsonify.models.WrappedString

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import com.alexitc.playsonify.models.ordering.{FieldOrdering, OrderingCondition,
import com.alexitc.playsonify.models.pagination.{Count, PaginatedQuery, PaginatedResult}
import com.alexitc.playsonify.validators.PaginatedQueryValidator
import com.xsn.explorer.errors.IPAddressFormatError
import com.xsn.explorer.models.IPAddress
import com.xsn.explorer.models.fields.MasternodeField
import com.xsn.explorer.models.rpc.Masternode
import com.xsn.explorer.models.values.IPAddress
import com.xsn.explorer.parsers.MasternodeOrderingParser
import javax.inject.Inject
import org.scalactic.{Bad, Good}
Expand Down
2 changes: 1 addition & 1 deletion server/app/com/xsn/explorer/services/XSNService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.xsn.explorer.config.{ExplorerConfig, RPCConfig}
import com.xsn.explorer.errors._
import com.xsn.explorer.executors.ExternalServiceExecutionContext
import com.xsn.explorer.models._
import com.xsn.explorer.models.values.{Address, Blockhash, Height, HexString}
import com.xsn.explorer.models.values._
import javax.inject.Inject
import org.scalactic.{Bad, Good}
import org.slf4j.LoggerFactory
Expand Down
2 changes: 1 addition & 1 deletion server/test/com/xsn/explorer/helpers/DummyXSNService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.xsn.explorer.helpers
import com.alexitc.playsonify.core.FutureApplicationResult
import com.xsn.explorer.models._
import com.xsn.explorer.models.rpc.Masternode
import com.xsn.explorer.models.values.{Address, Blockhash, Height, HexString}
import com.xsn.explorer.models.values._
import com.xsn.explorer.services.XSNService
import play.api.libs.json.JsValue

Expand Down
2 changes: 1 addition & 1 deletion server/test/controllers/MasternodesControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import com.xsn.explorer.errors.MasternodeNotFoundError
import com.xsn.explorer.helpers.DummyXSNService
import com.xsn.explorer.models.rpc.Masternode
import com.xsn.explorer.models.values._
import com.xsn.explorer.models.{IPAddress, TransactionId}
import com.xsn.explorer.models.TransactionId
import com.xsn.explorer.services.XSNService
import controllers.common.MyAPISpec
import org.scalactic.{Bad, Good}
Expand Down

0 comments on commit f67d783

Please sign in to comment.