com.fasterxml.jackson.core.Version.isUnknownVersion()方法的使用及代码示例

x33g5p2x  于2022-01-31 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(115)

本文整理了Java中com.fasterxml.jackson.core.Version.isUnknownVersion()方法的一些代码示例,展示了Version.isUnknownVersion()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.isUnknownVersion()方法的具体详情如下:
包路径:com.fasterxml.jackson.core.Version
类名称:Version
方法名:isUnknownVersion

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();
  }
}

相关文章