This is an automated email from the ASF dual-hosted git repository.
jhorvath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 85ffb8731c Fixing licenses in new ts sources (#6130)
85ffb8731c is described below
commit 85ffb8731cfa064f73f4a23fadbf754325bbdf91
Author: jhorvath <[email protected]>
AuthorDate: Tue Jun 27 15:03:29 2023 +0200
Fixing licenses in new ts sources (#6130)
---
.../vscode/src/propertiesView/controlTypes.ts | 19 ++++++++++++++++---
.../src/propertiesView/propertiesHtmlBuilder.ts | 19 ++++++++++++++++---
.../vscode/src/propertiesView/propertiesView.ts | 18 +++++++++++++++---
.../vscode/src/propertiesView/script.ts | 19 ++++++++++++++++---
java/java.lsp.server/vscode/src/typesUtil.ts | 18 +++++++++++++++---
5 files changed, 78 insertions(+), 15 deletions(-)
diff --git a/java/java.lsp.server/vscode/src/propertiesView/controlTypes.ts
b/java/java.lsp.server/vscode/src/propertiesView/controlTypes.ts
index 9e1be2dcd3..039e4a5239 100644
--- a/java/java.lsp.server/vscode/src/propertiesView/controlTypes.ts
+++ b/java/java.lsp.server/vscode/src/propertiesView/controlTypes.ts
@@ -1,9 +1,22 @@
/*
- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 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
*
- * Licensed under the Universal Permissive License v 1.0 as shown at
https://oss.oracle.com/licenses/upl.
+ * 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.
*/
+
import { EnumType, Typed } from "../typesUtil";
export type ID = number;
diff --git
a/java/java.lsp.server/vscode/src/propertiesView/propertiesHtmlBuilder.ts
b/java/java.lsp.server/vscode/src/propertiesView/propertiesHtmlBuilder.ts
index de7c28256c..09ac3259da 100644
--- a/java/java.lsp.server/vscode/src/propertiesView/propertiesHtmlBuilder.ts
+++ b/java/java.lsp.server/vscode/src/propertiesView/propertiesHtmlBuilder.ts
@@ -1,9 +1,22 @@
/*
- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 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
*
- * Licensed under the Universal Permissive License v 1.0 as shown at
https://oss.oracle.com/licenses/upl.
+ * 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.
*/
+
import * as vscode from 'vscode';
import { PropertyTypes, Properties, Property } from "./controlTypes";
diff --git a/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts
b/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts
index 248f3de17a..45e18c9e45 100644
--- a/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts
+++ b/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts
@@ -1,8 +1,20 @@
/*
- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 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
*
- * Licensed under the Universal Permissive License v 1.0 as shown at
https://oss.oracle.com/licenses/upl.
+ * 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.
*/
import * as vscode from 'vscode';
diff --git a/java/java.lsp.server/vscode/src/propertiesView/script.ts
b/java/java.lsp.server/vscode/src/propertiesView/script.ts
index 475fdef694..4aafbf9040 100644
--- a/java/java.lsp.server/vscode/src/propertiesView/script.ts
+++ b/java/java.lsp.server/vscode/src/propertiesView/script.ts
@@ -1,9 +1,22 @@
/*
- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 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
*
- * Licensed under the Universal Permissive License v 1.0 as shown at
https://oss.oracle.com/licenses/upl.
+ * 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.
*/
+
import { provideVSCodeDesignSystem, vsCodeButton, vsCodeTextField,
vsCodeDivider, vsCodeCheckbox, Button, TextField, Checkbox } from
"@vscode/webview-ui-toolkit";
import { isError, asClass, isClass } from "../typesUtil";
import { CommandKey, Message, PropertyMessage } from "./controlTypes";
diff --git a/java/java.lsp.server/vscode/src/typesUtil.ts
b/java/java.lsp.server/vscode/src/typesUtil.ts
index dc121791c7..cb8d176fbd 100644
--- a/java/java.lsp.server/vscode/src/typesUtil.ts
+++ b/java/java.lsp.server/vscode/src/typesUtil.ts
@@ -1,8 +1,20 @@
/*
- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 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
*
- * Licensed under the Universal Permissive License v 1.0 as shown at
https://oss.oracle.com/licenses/upl.
+ * 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.
*/
export type IsType<T> = (obj: unknown) => obj is T;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists