From 45181bece75689078fa0533bd2bbeab8e5e048ec Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Sat, 30 Aug 2014 23:37:48 +0400 Subject: [PATCH] Refactoring --- teavm-chrome-rdp/pom.xml | 7 +++++++ .../org/teavm/chromerdp/ChromeRDPDebugger.java | 17 ++++++++++++++++- .../org/teavm/chromerdp/ChromeRDPExchange.java | 15 +++++++++++++++ .../chromerdp/ChromeRDPExchangeConsumer.java | 15 +++++++++++++++ .../chromerdp/ChromeRDPExchangeListener.java | 15 +++++++++++++++ .../org/teavm/chromerdp/RDPLocalVariable.java | 15 +++++++++++++++ .../main/java/org/teavm/chromerdp/RDPScope.java | 15 +++++++++++++++ .../main/java/org/teavm/chromerdp/RDPValue.java | 15 +++++++++++++++ .../teavm/chromerdp/data/CallArgumentDTO.java | 15 +++++++++++++++ .../chromerdp/data/PropertyDescriptorDTO.java | 15 +++++++++++++++ .../teavm/chromerdp/data/RemoteObjectDTO.java | 15 +++++++++++++++ .../java/org/teavm/chromerdp/data/ScopeDTO.java | 15 +++++++++++++++ .../chromerdp/messages/CallFunctionCommand.java | 15 +++++++++++++++ .../messages/CallFunctionResponse.java | 15 +++++++++++++++ .../messages/GetPropertiesCommand.java | 15 +++++++++++++++ .../messages/GetPropertiesResponse.java | 15 +++++++++++++++ teavm-core/pom.xml | 1 - .../teavm-eclipse-feature}/.project | 0 .../teavm-eclipse-feature}/build.properties | 0 .../teavm-eclipse-feature}/feature.xml | 0 .../teavm-eclipse-plugin}/.classpath | 0 .../teavm-eclipse-plugin}/.gitignore | 0 .../teavm-eclipse-plugin}/.project | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../teavm-eclipse-plugin}/META-INF/MANIFEST.MF | 0 .../teavm-eclipse-plugin}/build.properties | 0 .../teavm-eclipse-plugin}/logback.xml | 0 .../teavm-eclipse-plugin}/plugin.xml | 0 .../teavm-eclipse-plugin}/pom.xml | 0 .../org/teavm/eclipse/TeaVMEclipsePlugin.java | 0 .../eclipse/debugger/TeaVMDebugConstants.java | 0 .../eclipse/debugger/TeaVMDebugProcess.java | 0 .../eclipse/debugger/TeaVMDebugTarget.java | 0 .../TeaVMLaunchConfigurationDelegate.java | 0 .../debugger/TeaVMSourceLookupDirector.java | 0 .../debugger/TeaVMSourceLookupParticipant.java | 0 .../TeaVMSourcePathComputerDelegate.java | 0 .../teavm/eclipse/debugger/TeaVMStackFrame.java | 0 .../eclipse/debugger/TeaVMStreamMonitor.java | 0 .../eclipse/debugger/TeaVMStreamsProxy.java | 0 .../org/teavm/eclipse/debugger/TeaVMThread.java | 0 .../org/teavm/eclipse/debugger/TeaVMValue.java | 0 .../teavm/eclipse/debugger/TeaVMVariable.java | 0 .../eclipse/debugger/TeaVMVariablesHolder.java | 0 .../ui/TeaVMDebugModelPresentation.java | 0 .../org/teavm/eclipse/debugger/ui/TeaVMTab.java | 0 .../eclipse/debugger/ui/TeaVMTabGroup.java | 0 .../teavm-eclipse-updatesite}/.project | 0 .../teavm-eclipse-updatesite}/site.xml | 0 49 files changed, 233 insertions(+), 2 deletions(-) rename {teavm-eclipse-feature => teavm-eclipse/teavm-eclipse-feature}/.project (100%) rename {teavm-eclipse-feature => teavm-eclipse/teavm-eclipse-feature}/build.properties (100%) rename {teavm-eclipse-feature => teavm-eclipse/teavm-eclipse-feature}/feature.xml (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/.classpath (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/.gitignore (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/.project (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/.settings/org.eclipse.jdt.core.prefs (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/META-INF/MANIFEST.MF (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/build.properties (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/logback.xml (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/plugin.xml (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/pom.xml (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/TeaVMEclipsePlugin.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugConstants.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugProcess.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugTarget.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMLaunchConfigurationDelegate.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupDirector.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupParticipant.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMSourcePathComputerDelegate.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMStackFrame.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamMonitor.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamsProxy.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMThread.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMValue.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMVariable.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/TeaVMVariablesHolder.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMDebugModelPresentation.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTab.java (100%) rename {teavm-eclipse-plugin => teavm-eclipse/teavm-eclipse-plugin}/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTabGroup.java (100%) rename {teavm-eclipse-updatesite => teavm-eclipse/teavm-eclipse-updatesite}/.project (100%) rename {teavm-eclipse-updatesite => teavm-eclipse/teavm-eclipse-updatesite}/site.xml (100%) diff --git a/teavm-chrome-rdp/pom.xml b/teavm-chrome-rdp/pom.xml index 88b8be965..2920df302 100644 --- a/teavm-chrome-rdp/pom.xml +++ b/teavm-chrome-rdp/pom.xml @@ -77,6 +77,13 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + + ../checkstyle.xml + + org.apache.maven.plugins maven-source-plugin diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPDebugger.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPDebugger.java index dc9b3ce7f..7890dd67e 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPDebugger.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPDebugger.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp; import java.io.IOException; @@ -27,7 +42,7 @@ public class ChromeRDPDebugger implements JavaScriptDebugger, ChromeRDPExchangeC private volatile RDPCallFrame[] callStack = new RDPCallFrame[0]; private ConcurrentMap scripts = new ConcurrentHashMap<>(); private ConcurrentMap scriptIds = new ConcurrentHashMap<>(); - private boolean suspended = false; + private boolean suspended; private ObjectMapper mapper = new ObjectMapper(); private ConcurrentMap responseHandlers = new ConcurrentHashMap<>(); private AtomicInteger messageIdGenerator = new AtomicInteger(); diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchange.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchange.java index fe32f52ed..494d366f6 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchange.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchange.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp; /** diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeConsumer.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeConsumer.java index 43d571175..a81affb3a 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeConsumer.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeConsumer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp; /** diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeListener.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeListener.java index d3e79b65b..d413edf2c 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeListener.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPExchangeListener.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp; import java.io.IOException; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPLocalVariable.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPLocalVariable.java index c4a6c1622..6525695a0 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPLocalVariable.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPLocalVariable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp; import org.teavm.debugging.javascript.JavaScriptValue; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPScope.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPScope.java index 92d150df8..9305fcfa6 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPScope.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPScope.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp; import java.util.AbstractMap; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPValue.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPValue.java index 8e536cbf7..4969e9c15 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPValue.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/RDPValue.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp; import java.util.Collections; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/CallArgumentDTO.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/CallArgumentDTO.java index 6235a7aed..9ae671add 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/CallArgumentDTO.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/CallArgumentDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.data; import org.codehaus.jackson.JsonNode; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/PropertyDescriptorDTO.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/PropertyDescriptorDTO.java index af4d81169..6659dbb2d 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/PropertyDescriptorDTO.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/PropertyDescriptorDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.data; import org.codehaus.jackson.annotate.JsonIgnoreProperties; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/RemoteObjectDTO.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/RemoteObjectDTO.java index 7b07c5630..6a41c9e0b 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/RemoteObjectDTO.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/RemoteObjectDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.data; import org.codehaus.jackson.JsonNode; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/ScopeDTO.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/ScopeDTO.java index 7bb6e3e2d..4c2ab5a7f 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/ScopeDTO.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/data/ScopeDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.data; import org.codehaus.jackson.annotate.JsonIgnoreProperties; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionCommand.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionCommand.java index 556581515..4d95a1be2 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionCommand.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionCommand.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.messages; import org.codehaus.jackson.annotate.JsonIgnoreProperties; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionResponse.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionResponse.java index 36255827c..8da3c28c3 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionResponse.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/CallFunctionResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.messages; import org.codehaus.jackson.annotate.JsonIgnoreProperties; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesCommand.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesCommand.java index 5b7baf27c..7234daab6 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesCommand.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesCommand.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.messages; import org.codehaus.jackson.annotate.JsonIgnoreProperties; diff --git a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesResponse.java b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesResponse.java index 6c8e3be9a..85114d44b 100644 --- a/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesResponse.java +++ b/teavm-chrome-rdp/src/main/java/org/teavm/chromerdp/messages/GetPropertiesResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2014 Alexey Andreev. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.teavm.chromerdp.messages; import org.codehaus.jackson.annotate.JsonIgnoreProperties; diff --git a/teavm-core/pom.xml b/teavm-core/pom.xml index 6a81a5c88..35170d7ea 100644 --- a/teavm-core/pom.xml +++ b/teavm-core/pom.xml @@ -51,7 +51,6 @@ org.apache.maven.plugins maven-checkstyle-plugin - config_loc=${basedir} ../checkstyle.xml diff --git a/teavm-eclipse-feature/.project b/teavm-eclipse/teavm-eclipse-feature/.project similarity index 100% rename from teavm-eclipse-feature/.project rename to teavm-eclipse/teavm-eclipse-feature/.project diff --git a/teavm-eclipse-feature/build.properties b/teavm-eclipse/teavm-eclipse-feature/build.properties similarity index 100% rename from teavm-eclipse-feature/build.properties rename to teavm-eclipse/teavm-eclipse-feature/build.properties diff --git a/teavm-eclipse-feature/feature.xml b/teavm-eclipse/teavm-eclipse-feature/feature.xml similarity index 100% rename from teavm-eclipse-feature/feature.xml rename to teavm-eclipse/teavm-eclipse-feature/feature.xml diff --git a/teavm-eclipse-plugin/.classpath b/teavm-eclipse/teavm-eclipse-plugin/.classpath similarity index 100% rename from teavm-eclipse-plugin/.classpath rename to teavm-eclipse/teavm-eclipse-plugin/.classpath diff --git a/teavm-eclipse-plugin/.gitignore b/teavm-eclipse/teavm-eclipse-plugin/.gitignore similarity index 100% rename from teavm-eclipse-plugin/.gitignore rename to teavm-eclipse/teavm-eclipse-plugin/.gitignore diff --git a/teavm-eclipse-plugin/.project b/teavm-eclipse/teavm-eclipse-plugin/.project similarity index 100% rename from teavm-eclipse-plugin/.project rename to teavm-eclipse/teavm-eclipse-plugin/.project diff --git a/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs b/teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs rename to teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs diff --git a/teavm-eclipse-plugin/META-INF/MANIFEST.MF b/teavm-eclipse/teavm-eclipse-plugin/META-INF/MANIFEST.MF similarity index 100% rename from teavm-eclipse-plugin/META-INF/MANIFEST.MF rename to teavm-eclipse/teavm-eclipse-plugin/META-INF/MANIFEST.MF diff --git a/teavm-eclipse-plugin/build.properties b/teavm-eclipse/teavm-eclipse-plugin/build.properties similarity index 100% rename from teavm-eclipse-plugin/build.properties rename to teavm-eclipse/teavm-eclipse-plugin/build.properties diff --git a/teavm-eclipse-plugin/logback.xml b/teavm-eclipse/teavm-eclipse-plugin/logback.xml similarity index 100% rename from teavm-eclipse-plugin/logback.xml rename to teavm-eclipse/teavm-eclipse-plugin/logback.xml diff --git a/teavm-eclipse-plugin/plugin.xml b/teavm-eclipse/teavm-eclipse-plugin/plugin.xml similarity index 100% rename from teavm-eclipse-plugin/plugin.xml rename to teavm-eclipse/teavm-eclipse-plugin/plugin.xml diff --git a/teavm-eclipse-plugin/pom.xml b/teavm-eclipse/teavm-eclipse-plugin/pom.xml similarity index 100% rename from teavm-eclipse-plugin/pom.xml rename to teavm-eclipse/teavm-eclipse-plugin/pom.xml diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMEclipsePlugin.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMEclipsePlugin.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMEclipsePlugin.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMEclipsePlugin.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugConstants.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugConstants.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugConstants.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugConstants.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugProcess.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugProcess.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugProcess.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugProcess.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugTarget.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugTarget.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugTarget.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMDebugTarget.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMLaunchConfigurationDelegate.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMLaunchConfigurationDelegate.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMLaunchConfigurationDelegate.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMLaunchConfigurationDelegate.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupDirector.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupDirector.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupDirector.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupDirector.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupParticipant.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupParticipant.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupParticipant.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourceLookupParticipant.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourcePathComputerDelegate.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourcePathComputerDelegate.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourcePathComputerDelegate.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMSourcePathComputerDelegate.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStackFrame.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStackFrame.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStackFrame.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStackFrame.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamMonitor.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamMonitor.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamMonitor.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamMonitor.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamsProxy.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamsProxy.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamsProxy.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMStreamsProxy.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMThread.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMThread.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMThread.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMThread.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMValue.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMValue.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMValue.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMValue.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariable.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariable.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariable.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariable.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariablesHolder.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariablesHolder.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariablesHolder.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/TeaVMVariablesHolder.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMDebugModelPresentation.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMDebugModelPresentation.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMDebugModelPresentation.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMDebugModelPresentation.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTab.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTab.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTab.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTab.java diff --git a/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTabGroup.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTabGroup.java similarity index 100% rename from teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTabGroup.java rename to teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/debugger/ui/TeaVMTabGroup.java diff --git a/teavm-eclipse-updatesite/.project b/teavm-eclipse/teavm-eclipse-updatesite/.project similarity index 100% rename from teavm-eclipse-updatesite/.project rename to teavm-eclipse/teavm-eclipse-updatesite/.project diff --git a/teavm-eclipse-updatesite/site.xml b/teavm-eclipse/teavm-eclipse-updatesite/site.xml similarity index 100% rename from teavm-eclipse-updatesite/site.xml rename to teavm-eclipse/teavm-eclipse-updatesite/site.xml