ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [1/2] incubator-ignite git commit: # IGNITE-1121 Fix headers.
Date Tue, 14 Jul 2015 14:30:09 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-1121 ab14ce173 -> 9ab35ffb7


# IGNITE-1121 Fix headers.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0920e8dc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0920e8dc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0920e8dc

Branch: refs/heads/ignite-1121
Commit: 0920e8dcc5f97bed18392085543fecc6cd863985
Parents: ab14ce1
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Tue Jul 14 17:17:42 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Tue Jul 14 17:17:42 2015 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/agent/Agent.java        | 4 +++-
 .../java/org/apache/ignite/agent/AgentConfiguration.java    | 4 +++-
 .../src/main/java/org/apache/ignite/agent/AgentSocket.java  | 9 +++++----
 3 files changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0920e8dc/modules/control-center-agent/src/main/java/org/apache/ignite/agent/Agent.java
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/Agent.java
b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/Agent.java
index c013009..f232e2f 100644
--- a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/Agent.java
+++ b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/Agent.java
@@ -1,4 +1,4 @@
-package org.apache.ignite.agent;/*
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -15,6 +15,8 @@ package org.apache.ignite.agent;/*
  * limitations under the License.
  */
 
+package org.apache.ignite.agent;
+
 import org.apache.commons.codec.*;
 import org.apache.http.*;
 import org.apache.http.client.methods.*;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0920e8dc/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentConfiguration.java
b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentConfiguration.java
index 7266b6f..06a21f3 100644
--- a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentConfiguration.java
+++ b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentConfiguration.java
@@ -1,4 +1,4 @@
-package org.apache.ignite.agent;/*
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -15,6 +15,8 @@ package org.apache.ignite.agent;/*
  * limitations under the License.
  */
 
+package org.apache.ignite.agent;
+
 /**
  *
  */

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0920e8dc/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentSocket.java
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentSocket.java
b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentSocket.java
index 79dd9fc..789fd12 100644
--- a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentSocket.java
+++ b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/AgentSocket.java
@@ -1,4 +1,4 @@
-package org.apache.ignite.agent;/*
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -15,6 +15,8 @@ package org.apache.ignite.agent;/*
  * limitations under the License.
  */
 
+package org.apache.ignite.agent;
+
 import org.apache.ignite.agent.messages.*;
 import org.eclipse.jetty.websocket.api.*;
 import org.eclipse.jetty.websocket.api.annotations.*;
@@ -94,11 +96,10 @@ public class AgentSocket {
         if (m instanceof AuthResult) {
             if (((AuthResult)m).isSuccess())
                 System.out.println("Authentication success");
-            else {
+            else
                 System.out.println("Authentication failed: " + ((AuthResult)m).getMessage());
 
-                ses.close();
-            }
+            ses.close();
         }
         else if (m instanceof ExecuteRest) {
             ExecuteRest execRest = (ExecuteRest)m;


Mime
View raw message