Repository: incubator-netbeans Updated Branches: refs/heads/master cacbb0059 -> e864a8a94
[NETBEANS-54] Module Review lib.jshell.agent Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/e864a8a9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/e864a8a9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/e864a8a9 Branch: refs/heads/master Commit: e864a8a94a3825f9a2651465ccb3e987e68a0d10 Parents: cacbb00 Author: Michael Simons <[email protected]> Authored: Mon Oct 9 07:52:09 2017 +0200 Committer: Emilian Bold <[email protected]> Committed: Mon Oct 9 08:52:09 2017 +0300 ---------------------------------------------------------------------- .../netbeans/lib/jshell/agent/RemoteAgent.java | 38 +++++++++----------- .../lib/jshell/agent/RemoteClassLoader.java | 37 ++++++++----------- .../netbeans/lib/jshell/agent/RemoteCodes.java | 37 ++++++++----------- .../jshell/agent/RemoteResolutionException.java | 37 ++++++++----------- 4 files changed, 61 insertions(+), 88 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/e864a8a9/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteAgent.java ---------------------------------------------------------------------- diff --git a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteAgent.java b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteAgent.java index 5455b9c..8500f20 100644 --- a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteAgent.java +++ b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteAgent.java @@ -1,29 +1,23 @@ -/* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). +/** + * 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. The ASF licenses this file + * to you 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 * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. + * 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.netbeans.lib.jshell.agent; + import jdk.jshell.spi.SPIResolutionException; import java.io.File; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/e864a8a9/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteClassLoader.java ---------------------------------------------------------------------- diff --git a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteClassLoader.java b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteClassLoader.java index c810a38..242001b 100644 --- a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteClassLoader.java +++ b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteClassLoader.java @@ -1,28 +1,21 @@ -/* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). +/** + * 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. The ASF licenses this file + * to you 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 * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. + * 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.netbeans.lib.jshell.agent; import java.net.URL; http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/e864a8a9/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteCodes.java ---------------------------------------------------------------------- diff --git a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteCodes.java b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteCodes.java index a71ecdc..248616b 100644 --- a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteCodes.java +++ b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteCodes.java @@ -1,28 +1,21 @@ -/* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). +/** + * 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. The ASF licenses this file + * to you 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 * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. + * 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.netbeans.lib.jshell.agent; /** http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/e864a8a9/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteResolutionException.java ---------------------------------------------------------------------- diff --git a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteResolutionException.java b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteResolutionException.java index c326980..e3fd539 100644 --- a/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteResolutionException.java +++ b/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/RemoteResolutionException.java @@ -1,28 +1,21 @@ -/* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). +/** + * 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. The ASF licenses this file + * to you 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 * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. + * 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.netbeans.lib.jshell.agent; /**
