http api: rename OSB ge classes with OSB prefix

This commit is contained in:
Adam
2019-02-09 11:41:30 -05:00
parent c8a5eed56d
commit 860aa89a4d
5 changed files with 13 additions and 13 deletions

View File

@@ -35,12 +35,12 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/osb/ge")
public class GrandExchangeController
public class OSBGrandExchangeController
{
private final GrandExchangeService grandExchangeService;
private final OSBGrandExchangeService grandExchangeService;
@Autowired
public GrandExchangeController(GrandExchangeService grandExchangeService)
public OSBGrandExchangeController(OSBGrandExchangeService grandExchangeService)
{
this.grandExchangeService = grandExchangeService;
}

View File

@@ -40,7 +40,7 @@ import org.sql2o.Sql2o;
@Service
@Slf4j
public class GrandExchangeService
public class OSBGrandExchangeService
{
private static final String CREATE_GRAND_EXCHANGE_PRICES = "CREATE TABLE IF NOT EXISTS `osb_ge` (\n"
+ " `item_id` int(11) NOT NULL,\n"
@@ -56,7 +56,7 @@ public class GrandExchangeService
private final Sql2o sql2o;
@Autowired
public GrandExchangeService(@Qualifier("Runelite SQL2O") Sql2o sql2o)
public OSBGrandExchangeService(@Qualifier("Runelite SQL2O") Sql2o sql2o)
{
this.sql2o = sql2o;