From 819e87d22ac1fd61adc2c0de52212a6ff322e77f Mon Sep 17 00:00:00 2001
From: xc <xucheng@yyigou.com>
Date: Mon, 07 Dec 2020 13:43:16 +0800
Subject: [PATCH] udate
---
/dev/null | 10 ----------
src/main/java/com/hbbh/adapter/pojo/Point.java | 1 +
src/main/java/com/hbbh/adapter/pojo/Table.java | 1 +
src/main/java/com/hbbh/adapter/AdapterApplication.java | 2 +-
src/main/java/com/hbbh/adapter/dao/GoldenDao.java | 1 +
src/main/java/com/hbbh/adapter/config/GoldenConfig.java | 4 ++--
6 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/src/main/java/com/hbbh/adapter/AdapterApplication.java b/src/main/java/com/hbbh/adapter/AdapterApplication.java
index 49b195d..af1f943 100644
--- a/src/main/java/com/hbbh/adapter/AdapterApplication.java
+++ b/src/main/java/com/hbbh/adapter/AdapterApplication.java
@@ -6,7 +6,7 @@
@SpringBootApplication
public class AdapterApplication {
- public static void main(String[] args) throws Exception {
+ public static void main(String[] args) {
SpringApplication.run(AdapterApplication.class, args);
}
diff --git a/src/main/java/com/hbbh/adapter/config/AttrValueConfig.java b/src/main/java/com/hbbh/adapter/config/AttrValueConfig.java
deleted file mode 100644
index fa4fc73..0000000
--- a/src/main/java/com/hbbh/adapter/config/AttrValueConfig.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package com.hbbh.adapter.config;
-
-import lombok.Data;
-import org.apache.commons.lang3.StringUtils;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * 自动建表 动态注解名称
- */
-@Configuration
-@Data
-public class AttrValueConfig{
-
- private String articleIndexName;
-
- @Bean
- public String articleIndexName(){
- return articleIndexName;
- }
-}
\ No newline at end of file
diff --git a/src/main/java/com/hbbh/adapter/config/GoldenConfig.java b/src/main/java/com/hbbh/adapter/config/GoldenConfig.java
index 83a47f2..8401119 100644
--- a/src/main/java/com/hbbh/adapter/config/GoldenConfig.java
+++ b/src/main/java/com/hbbh/adapter/config/GoldenConfig.java
@@ -28,7 +28,7 @@
private ServerImpl server;
- public void setServer(ServerImpl server) {
+ private void setServer(ServerImpl server) {
this.server = server;
}
public ServerImpl getServer() {
@@ -36,7 +36,7 @@
return server;
}
- public void load(){
+ private void load(){
if (server==null){
try {
ServerImplPool pool = new ServerImplPool(_ip, _port, _username, _password, _poolSize, _maxSize);
diff --git a/src/main/java/com/hbbh/adapter/constand/RTDBConstant.java b/src/main/java/com/hbbh/adapter/constand/RTDBConstant.java
deleted file mode 100644
index f4cec32..0000000
--- a/src/main/java/com/hbbh/adapter/constand/RTDBConstant.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package com.hbbh.adapter.constand;
-
-import com.rtdb.constant.RtdbConstant;
-
-/**
- * rename
- */
-@Deprecated
-public interface RTDBConstant extends RtdbConstant {
-}
diff --git a/src/main/java/com/hbbh/adapter/dao/GoldenDao.java b/src/main/java/com/hbbh/adapter/dao/GoldenDao.java
index bfccbaf..646ea70 100644
--- a/src/main/java/com/hbbh/adapter/dao/GoldenDao.java
+++ b/src/main/java/com/hbbh/adapter/dao/GoldenDao.java
@@ -3,6 +3,7 @@
import com.hbbh.adapter.pojo.Point;
import org.springframework.data.jpa.repository.JpaRepository;
+@Deprecated
public interface GoldenDao //extends JpaRepository<String,Integer>
{
diff --git a/src/main/java/com/hbbh/adapter/pojo/Point.java b/src/main/java/com/hbbh/adapter/pojo/Point.java
index 35ea3e5..01204f1 100644
--- a/src/main/java/com/hbbh/adapter/pojo/Point.java
+++ b/src/main/java/com/hbbh/adapter/pojo/Point.java
@@ -7,6 +7,7 @@
* 标签点
*/
@Data
+@Deprecated
public class Point {
private Integer id;
diff --git a/src/main/java/com/hbbh/adapter/pojo/Table.java b/src/main/java/com/hbbh/adapter/pojo/Table.java
index 4980b58..570cfa7 100644
--- a/src/main/java/com/hbbh/adapter/pojo/Table.java
+++ b/src/main/java/com/hbbh/adapter/pojo/Table.java
@@ -6,6 +6,7 @@
@Data
+@Deprecated
public class Table {
private int id;
--
Gitblit v1.9.1