Examples of Version


Examples of it.stefanobertini.zebra.cpcl.utility.Version

public class VersionTest {

    @Test
    public void test() {
  Version command = new Version();

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! UTILITIES");
  output.printLn("VERSION");
  output.printLn("PRINT");
View Full Code Here

Examples of javax.jcr.version.Version

     * {@inheritDoc}
     */
    public NodeId checkin(final SessionInfo sessionInfo, final NodeId nodeId)
            throws VersionException, UnsupportedRepositoryOperationException, InvalidItemStateException, LockException, RepositoryException {
        final SessionInfoImpl sInfo = getSessionInfoImpl(sessionInfo);
        Version newVersion = (Version) executeWithLocalEvents(new Callable() {
            public Object run() throws RepositoryException {
                return getNode(nodeId, getSessionInfoImpl(sessionInfo)).checkin();
            }
        }, sInfo);
        return idFactory.createNodeId(newVersion);
View Full Code Here

Examples of javax.persistence.Version

      return false;
    } else {
      // if the optimistic locking field has to be unversioned and the current property
      // is the optimistic locking field, don't audit it
      if (globalCfg.isDoNotAuditOptimisticLockingField()) {
        Version jpaVer = property.getAnnotation(Version.class);
        if (jpaVer != null) {
          return false;
        }
      }
    }
View Full Code Here

Examples of jease.cms.domain.Version

  /**
   * Add new revision with given info (e.g. username) for given content.
   */
  public static void checkin(String info, Content content) {
    content.addRevision(new Version(info, revisioner.toBlob(content)));
    purge(content, getCount(), getDays());
  }
View Full Code Here

Examples of jnode.dto.Version

    List<Version> versions = versionDao
        .getOrderLimitAnd(1, "int_at", false);
    if (versions.size() == 0) {
      doInstall();
    } else {
      Version ver = versions.get(0);
      logger.l1("You have installed " + ver.toString());
      checkForLastVersion(ver);
    }
  }
View Full Code Here

Examples of limelight.util.Version

  }

    @Test
  public void isLimelightVersionCompatible() throws Exception
  {
    Version version = About.version;
    assertEquals(true, production.isLimelightVersionCompatible());

    production.setMinimumLimelightVersion(version.toString());
    assertEquals(true, production.isLimelightVersionCompatible());

    final String minusOne = new Version(version.getMajor(), version.getMinor(), version.getPatch() - 1).toString();
    production.setMinimumLimelightVersion(minusOne);
    assertEquals(true, production.isLimelightVersionCompatible());

    final String plusOne = new Version(version.getMajor(), version.getMinor(), version.getPatch() + 1).toString();
    production.setMinimumLimelightVersion(plusOne);
    assertEquals(false, production.isLimelightVersionCompatible());
  }
View Full Code Here

Examples of lineage2.commons.versioning.Version

  {
    _instance = this;
    _serverStarted = time();
    _listeners = new GameServerListenerList();
    new File("./log/").mkdir();
    version = new Version(GameServer.class);
    _log.info("=================================================");
    _log.info("Revision: ................ " + version.getRevisionNumber());
    _log.info("Build date: .............. " + version.getBuildDate());
    _log.info("Compiler version: ........ " + version.getBuildJdk());
    _log.info("=================================================");
View Full Code Here

Examples of net.datacrow.core.Version

            rs.close();
            stmt.close();
           
        } catch (SQLException se) {}
       
        return new Version(major, minor, build, patch);
    }
View Full Code Here

Examples of net.feed_the_beast.launcher.json.versions.Version

        GSON = builder.create();
    }

    public static Version loadVersion (File json) throws JsonSyntaxException, JsonIOException, IOException {
        FileReader reader = new FileReader(json);
        Version v = GSON.fromJson(reader, Version.class);
        reader.close();
        return v;
    }
View Full Code Here

Examples of net.java.sip.communicator.service.version.Version

        {
            try
            {
                List<String> userAgentTokens = new LinkedList<String>();

                Version ver =
                        SipActivator.getVersionService().getCurrentVersion();

                userAgentTokens.add(ver.getApplicationName());
                userAgentTokens.add(ver.toString());

                String osName = System.getProperty("os.name");
                userAgentTokens.add(osName);

                userAgentHeader
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.