Browse Source

格式化

master
vito 9 years ago
parent
commit
363c8ec746
  1. 4
      designer_base/src/com/fr/env/RemoteEnv.java

4
designer_base/src/com/fr/env/RemoteEnv.java vendored

@ -2054,7 +2054,7 @@ public class RemoteEnv implements Env {
InputStream inputStream = postBytes2ServerB(out.toByteArray(), para);
String pluginsStr = IOUtils.inputStream2String(inputStream, EncodeConstants.ENCODING_UTF_8);
if(StringUtils.isNotBlank(pluginsStr) && pluginsStr.startsWith("[")){
if (StringUtils.isNotBlank(pluginsStr) && pluginsStr.startsWith("[")) {
JSONArray jsonArray = new JSONArray(pluginsStr);
for (int i = 0; i < jsonArray.length(); i++) {
Plugin plugin = new Plugin();
@ -2072,7 +2072,7 @@ public class RemoteEnv implements Env {
InputStream inputStream = postBytes2ServerB(out.toByteArray(), para);
String pluginsLicensesStr = IOUtils.inputStream2String(inputStream, EncodeConstants.ENCODING_UTF_8);
if(StringUtils.isNotBlank(pluginsLicensesStr) && pluginsLicensesStr.startsWith("[")) {
if (StringUtils.isNotBlank(pluginsLicensesStr) && pluginsLicensesStr.startsWith("[")) {
JSONArray jsonArray = new JSONArray(pluginsLicensesStr);
for (int i = 0; i < jsonArray.length(); i++) {
PluginLicense pluginLicense = new PluginLicense();

Loading…
Cancel
Save