Browse Source

删除无用代码

master
yaoh.wu 7 years ago
parent
commit
d35c4dd571
  1. 1
      designer-base/src/com/fr/design/remote/ui/AuthorityEditorPane.java
  2. 4
      designer-base/src/com/fr/design/remote/ui/AuthorityManagerPane.java
  3. 1
      designer-base/src/com/fr/design/remote/ui/list/MemberList.java
  4. 1
      designer-base/src/com/fr/env/RemoteEnvUtils.java

1
designer-base/src/com/fr/design/remote/ui/AuthorityEditorPane.java

@ -83,7 +83,6 @@ public class AuthorityEditorPane extends BasicBeanPane<DesignAuthority> {
items.add(new DesignAuthority.Item(tempSpot.toString(), type)); items.add(new DesignAuthority.Item(tempSpot.toString(), type));
} }
da.setItems(items.toArray(new DesignAuthority.Item[0])); da.setItems(items.toArray(new DesignAuthority.Item[0]));
System.out.println(Arrays.toString(da.getItems()));
return da; return da;
} }
} }

4
designer-base/src/com/fr/design/remote/ui/AuthorityManagerPane.java

@ -32,8 +32,6 @@ public class AuthorityManagerPane extends BasicPane {
} }
public DesignAuthority[] update() { public DesignAuthority[] update() {
DesignAuthority[] authorities = list.update(); return list.update();
System.out.println(Arrays.toString(authorities));
return authorities;
} }
} }

1
designer-base/src/com/fr/design/remote/ui/list/MemberList.java

@ -60,7 +60,6 @@ public abstract class MemberList extends JList<RemoteMember> {
@Override @Override
public void mouseReleased(MouseEvent e) { public void mouseReleased(MouseEvent e) {
super.mouseReleased(e); super.mouseReleased(e);
System.out.println("click location: x:" + e.getX() + " y:" + e.getY());
if (shouldDisplaySelected(e)) { if (shouldDisplaySelected(e)) {
displaySelected(); displaySelected();
} }

1
designer-base/src/com/fr/env/RemoteEnvUtils.java vendored

@ -50,7 +50,6 @@ public class RemoteEnvUtils {
HttpEntity entity = response.getEntity(); HttpEntity entity = response.getEntity();
res = IOUtils.inputStream2String(entity.getContent(), EncodeConstants.ENCODING_UTF_8); res = IOUtils.inputStream2String(entity.getContent(), EncodeConstants.ENCODING_UTF_8);
EntityUtils.consume(entity); EntityUtils.consume(entity);
System.out.println(res);
} catch (IOException e) { } catch (IOException e) {
FRContext.getLogger().error(e.getMessage()); FRContext.getLogger().error(e.getMessage());
} }

Loading…
Cancel
Save