Browse Source

KERNEL-1198 去除不必要修改修改

remotes/1611766341912730171/master
Mars.Ma 5 years ago
parent
commit
3bc58139f8
  1. 4
      src/main/java/com/fanruan/api/data/AbstractDataModel.java
  2. 4
      src/main/java/com/fanruan/api/data/AbstractDatabaseConnection.java
  3. 4
      src/main/java/com/fanruan/api/data/AbstractParameterTableData.java
  4. 7
      src/main/java/com/fanruan/api/data/TableDataKit.java
  5. 21
      src/main/java/com/fanruan/api/net/http/EntityKit.java
  6. 9
      src/main/java/com/fanruan/api/net/http/message/BasicNameValuePair.java
  7. 15
      src/main/java/com/fanruan/api/util/ComparatorKit.java
  8. 7
      src/main/java/com/fanruan/api/xml/XmlKit.java

4
src/main/java/com/fanruan/api/data/AbstractDataModel.java

@ -1,4 +0,0 @@
package com.fanruan.api.data;
public abstract class AbstractDataModel extends com.fr.data.AbstractDataModel {
}

4
src/main/java/com/fanruan/api/data/AbstractDatabaseConnection.java

@ -1,4 +0,0 @@
package com.fanruan.api.data;
public abstract class AbstractDatabaseConnection extends com.fr.data.impl.AbstractDatabaseConnection {
}

4
src/main/java/com/fanruan/api/data/AbstractParameterTableData.java

@ -1,4 +0,0 @@
package com.fanruan.api.data;
public abstract class AbstractParameterTableData extends com.fr.data.AbstractParameterTableData {
}

7
src/main/java/com/fanruan/api/data/TableDataKit.java

@ -76,11 +76,4 @@ public class TableDataKit {
TableDataConfig.getInstance().renameTableData(oldName, newName); TableDataConfig.getInstance().renameTableData(oldName, newName);
} }
/**
* 直接预览数据集没有实际值和显示值
* @param tableData 数据集
*/
public static void previewTableData(TableData tableData) {
PreviewTablePane.previewTableData(tableData);
}
} }

21
src/main/java/com/fanruan/api/net/http/EntityKit.java

@ -1,21 +0,0 @@
package com.fanruan.api.net.http;
import com.fr.third.org.apache.http.HttpEntity;
import com.fr.third.org.apache.http.ParseException;
import com.fr.third.org.apache.http.util.EntityUtils;
import java.io.IOException;
public class EntityKit {
/**
* 利用defaultCharset字符集将HttpEntity对象转化为String对象
* @param entity 需要转化为String的HttpEntity对象
* @param defaultCharset 传入的字符集
* @return HttpEntity对象转化为的String对象
* @throws IOException
* @throws ParseException
*/
public static String toString(HttpEntity entity, String defaultCharset) throws IOException, ParseException {
return EntityUtils.toString(entity, defaultCharset);
}
}

9
src/main/java/com/fanruan/api/net/http/message/BasicNameValuePair.java

@ -1,9 +0,0 @@
package com.fanruan.api.net.http.message;
/**
* 键值对类
*/
public class BasicNameValuePair extends com.fr.third.org.apache.http.message.BasicNameValuePair {
public BasicNameValuePair(String name, String value) {
super(name, value);
}
}

15
src/main/java/com/fanruan/api/util/ComparatorKit.java

@ -1,15 +0,0 @@
package com.fanruan.api.util;
import com.fr.general.ComparatorUtils;
public class ComparatorKit {
/**
* 比较两个Object对象是否相等
* @param object1 第一个Object对象
* @param object2 第二个Object对象
* @return 相等返回True 不相等返回False
*/
public static boolean equals(Object object1, Object object2){
return ComparatorUtils.equals(object1, object2);
}
}

7
src/main/java/com/fanruan/api/xml/XmlKit.java

@ -4,7 +4,12 @@ import com.fr.data.core.DataCoreXmlUtils;
import com.fr.data.impl.Connection; import com.fr.data.impl.Connection;
import com.fr.general.xml.GeneralXMLTools; import com.fr.general.xml.GeneralXMLTools;
import com.fr.stable.ParameterProvider; import com.fr.stable.ParameterProvider;
import com.fr.stable.xml.*; import com.fr.stable.xml.XMLReadable;
import com.fr.stable.xml.XMLTools;
import com.fr.stable.xml.XMLable;
import com.fr.stable.xml.XMLableReader;
import com.fr.stable.xml.XMLPrintWriter;
import com.fr.stable.xml.StableXMLUtils;
import java.io.InputStream; import java.io.InputStream;

Loading…
Cancel
Save