本文整理了Java中com.fasterxml.jackson.core.Version.isUnknownVersion()
方法的一些代码示例,展示了Version.isUnknownVersion()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.isUnknownVersion()
方法的具体详情如下:
包路径:com.fasterxml.jackson.core.Version
类名称:Version
方法名:isUnknownVersion
暂无
代码示例来源:origin: redisson/redisson
/**
* @deprecated Since 2.7 use correctly spelled method {@link #isUnknownVersion()}
*/
@Deprecated
public boolean isUknownVersion() { return isUnknownVersion(); }
代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger
/**
* @deprecated Since 2.7 use correctly spelled method {@link #isUnknownVersion()}
*/
@Deprecated
public boolean isUknownVersion() { return isUnknownVersion(); }
代码示例来源:origin: Nextdoor/bender
/**
* @deprecated Since 2.7 use correctly spelled method {@link #isUnknownVersion()}
*/
@Deprecated
public boolean isUknownVersion() { return isUnknownVersion(); }
代码示例来源:origin: FasterXML/jackson-datatype-hibernate
private void assertVersion(Versioned vers)
{
Version v = vers.version();
assertFalse("Should find version information (got "+v+")", v.isUnknownVersion());
// Version exp = PackageVersion.VERSION;
// assertEquals(exp.toFullString(), v.toFullString());
// assertEquals(exp, v);
}
}
代码示例来源:origin: org.umlg/sqlg-core
private void updateTopology(String oldVersion) {
Version v = Version.unknownVersion();
if (oldVersion != null) {
v = VersionUtil.parseVersion(oldVersion, null, null);
}
if (v.isUnknownVersion() || v.compareTo(new Version(1, 5, 0, null, null, null)) < 0) {
if (this.sqlDialect.supportsDeferrableForeignKey()) {
upgradeForeignKeysToDeferrable();
}
}
if (v.isUnknownVersion() || v.compareTo(new Version(2, 0, 0, null, null, null)) < 0) {
addPartitionSupportToSqlgSchema();
}
}
代码示例来源:origin: pietermartin/sqlg
private void updateTopology(String oldVersion) {
Version v = Version.unknownVersion();
if (oldVersion != null) {
v = VersionUtil.parseVersion(oldVersion, null, null);
}
if (v.isUnknownVersion() || v.compareTo(new Version(1, 5, 0, null, null, null)) < 0) {
if (this.sqlDialect.supportsDeferrableForeignKey()) {
upgradeForeignKeysToDeferrable();
}
}
if (v.isUnknownVersion() || v.compareTo(new Version(2, 0, 0, null, null, null)) < 0) {
addPartitionSupportToSqlgSchema();
}
}
内容来源于网络,如有侵权,请联系作者删除!