mirror of
https://gitee.com/BDWare/common
synced 2026-02-15 00:59:29 +00:00
Compare commits
2 Commits
lyh_local_
...
lyh_dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74fcf39094 | ||
|
|
f6c2e9e445 |
16
build.gradle
16
build.gradle
@@ -131,18 +131,18 @@ publishing {
|
||||
maven {
|
||||
name 'bdwareSnapshotRepository'
|
||||
url 'https://oss.sonatype.org/content/repositories/snapshots'
|
||||
// credentials {
|
||||
// username = "${NEXUS_USERNAME}"
|
||||
// password = "${NEXUS_PASSWORD}"
|
||||
// }
|
||||
credentials {
|
||||
username = "${NEXUS_USERNAME}"
|
||||
password = "${NEXUS_PASSWORD}"
|
||||
}
|
||||
}
|
||||
maven {
|
||||
name 'bdwareRepository'
|
||||
url 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
|
||||
// credentials {
|
||||
// username = "${NEXUS_USERNAME}"
|
||||
// password = "${NEXUS_PASSWORD}"
|
||||
// }
|
||||
credentials {
|
||||
username = "${NEXUS_USERNAME}"
|
||||
password = "${NEXUS_PASSWORD}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,14 +46,6 @@ public class ContractNode {
|
||||
getFunctions().add(function);
|
||||
}
|
||||
|
||||
public void updateFunctionMap(String oldFunctionName, String newFunctionName) {
|
||||
FunctionNode fn = functionMap.getOrDefault(oldFunctionName, null);
|
||||
if(fn != null) {
|
||||
functionMap.remove(oldFunctionName);
|
||||
functionMap.put(newFunctionName, fn);
|
||||
}
|
||||
}
|
||||
|
||||
public void addClass(ClassNode clzNode) {
|
||||
getClzs().add(clzNode);
|
||||
}
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
package org.bdware.sc.bean;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.bdware.doip.codec.operations.BasicOperations;
|
||||
import org.bdware.sc.node.AnnotationNode;
|
||||
import org.bdware.sc.node.ContractNode;
|
||||
import org.bdware.sc.util.JsonUtil;
|
||||
|
||||
public class DoipOperationInfo {
|
||||
static Logger LOGGER = LogManager.getLogger(DoipOperationInfo.class);
|
||||
public String operationType;
|
||||
public String operationName;
|
||||
public BasicOperations operation;
|
||||
@@ -32,7 +35,7 @@ public class DoipOperationInfo {
|
||||
info.operationName = info.operation.getName();
|
||||
}
|
||||
}
|
||||
System.out.println("[DoipOperationInfo] annotationNode:" + JsonUtil.toJson(annotationNode));
|
||||
LOGGER.info("[DoipOperationInfo] annotationNode:" + JsonUtil.toJson(annotationNode));
|
||||
return info;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user