Skip to content

Commit

Permalink
remove javadoc since it does not work with maven and kotlin. Can be e…
Browse files Browse the repository at this point in the history
…nabled once we switch to gradle.
  • Loading branch information
DivineThreepwood committed Feb 13, 2024
1 parent c24783c commit 11be942
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 30 deletions.
29 changes: 0 additions & 29 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,35 +159,6 @@
<executable>java</executable>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<source>${java.source.version}</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,28 @@ open class RegistryMessageTreeItem<MB : Message.Builder>(
labelProvider: (() -> String)? = null
) : BuilderTreeItem<MB>(fieldDescriptor, builder, editable) {
private var idField: Descriptors.FieldDescriptor? = null //, labelField;

/*-
* #%L
* BCO Registry Editor
* %%
* Copyright (C) 2014 - 2024 openbase.org
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
private val labelProvider: () -> String = labelProvider ?: {
try {
ProtoBufFieldProcessor.getFieldDescriptor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public ActivityConfigTreeItem(FieldDescriptor fieldDescriptor, Builder builder,
super(fieldDescriptor, builder, editable);
}

@SuppressWarnings("unchecked")
@Override
protected GenericTreeItem createChild(final FieldDescriptor field, final Boolean editable) throws CouldNotPerformException {
GenericTreeItem child;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*-
* #%L
* BCO Registry Editor
* %%
* Copyright (C) 2014 - 2024 openbase.org
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
package org.openbase.bco.registry.editor.struct.preset

import com.google.protobuf.Descriptors
Expand Down

0 comments on commit 11be942

Please sign in to comment.