Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spotless and fix formatting errors #165

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repositories {
dependencies {
implementation 'to.wetransform:gradle-semantic-release-version:2.1.2'
implementation 'biz.aQute.bnd:biz.aQute.bnd.gradle:7.1.0'
implementation 'com.diffplug.spotless:spotless-plugin-gradle:6.25.0'
implementation 'com.diffplug.spotless:spotless-plugin-gradle:7.0.1'

implementation 'com.gradleup.shadow:shadow-gradle-plugin:8.3.5'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ public void duplicateContext(SourceNode originalSource, final SourceNode duplica
//
// // track back from targets where augmentations are missing
// for (Pair<TargetNodeImpl, TargetNode> targetPair : duplicationContext.getIncompleteTargetNodes()) {
//// TargetNodeImpl targetNode = targetPair.getFirst();
//// TargetNodeImpl targetNode = targetPair.getFirst();
// TargetNode originalTarget = targetPair.getSecond();
//
// augmentationTrackback(originalTarget, duplicationContext);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public List<DefinitionPath> findCandidates(TypeDefinition elementType, QName ele
// FIXME how to determine which types are ok for xsi:type?!
// if (!substitutionTypes.contains(subtype)) { // only types that are no valid substitutions
// // add candidate
//// Name element = basePath.getLastName(); // the element name that will be extended with xsi:type
//// Name element = basePath.getLastName(); // the element name that will be extended with xsi:type
// candidates.add(new PathCandidate(subtype,
// new DefinitionPath(basePath).addDowncast(subtype),
// new HashSet<TypeDefinition>(checkedTypes)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void clearResolverCache() {
// Map<List<String>, Object> values = new HashMap<List<String>, Object>();
//
// // create the geometry
//// MultiLineString mls = geomFactory.createMultiLineString(
//// MultiLineString mls = geomFactory.createMultiLineString(
//// new LineString[]{createLineString(0.0), createLineString(1.0),
//// createLineString(2.0)});
// //XXX for some reason the MultiLineString is converted to a LineString when set a value -> so we are using a LineString instead to allow value comparison
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ public static boolean setSpecialBinding(XmlTypeDefinition type) {
// //FIXME concept of binding constraint and geometry property must be adapted to include built-in support for multiple geometries (with possible different CRS)
// type.setConstraint(Binding.get(GeometryProperty.class));
// //TODO set geometry type?
//// type.setConstraint(...);
//// type.setConstraint(...);
//
// // enable augmented value, as the derived geometry will be stored as the value
// type.setConstraint(AugmentedValueFlag.ENABLED);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public static void initServer() throws Exception {
// + "<protocol name=\"http\" implementation=\"com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb\"/>"
// + "</protocols>"
// + "<listeners>"
//// + "<listener ip-address=\"0.0.0.0\" port-range=\"2424-2430\" protocol=\"binary\"/>"
//// + "<listener ip-address=\"0.0.0.0\" port-range=\"2424-2430\" protocol=\"binary\"/>"
//// + "<listener ip-address=\"0.0.0.0\" port-range=\"2480-2490\" protocol=\"http\"/>"
// + "</listeners>"
// + "</network>"
Expand Down
Loading