Projects >> nutz >>cd1431ca5708b4ad96b4e99ca25b4cd9019d7c61

Chunk
Conflicting content
 * 
 */
<<<<<<< HEAD
package org.nutz;

/**
 * 用于识别当前版本号和版权声明! 
* Nutz is Licensed under the Apache License, Version 2.0 (the "License") *

* http://www.apache.org/licenses/LICENSE-2.0 * * @author Wendal(wendal1985@gmail.com) * */ public final class Nutz { /** * 获取 Nutz 的版本号,版本号的命名规范 * *

     * [大版本号].[质量号].[发布流水号]
     * 
* * 这里有点说明 *
    *
  • 大版本号 - 表示 API 的版本,如果没有重大变化,基本上同样的大版本号,使用方式是一致的 *
  • 质量号 - 可能为 a: Alpha内部测试品质, b:Beta 公测品质, r:Release 最终发布版 *
  • 发布流水 - 每次发布增加 1 *
* * @return nutz 项目的版本号 */ public static String version() { return String.format("%d.%s.%d", majorVersion(), releaseLevel(), minorVersion()); } public static int majorVersion() { return 1; } public static int minorVersion() { return 53; } public static String releaseLevel() { return "b"; } } ======= package org.nutz; /** * 用于识别当前版本号和版权声明!
* Nutz is Licensed under the Apache License, Version 2.0 (the "License") *

* http://www.apache.org/licenses/LICENSE-2.0 * * @author Wendal(wendal1985@gmail.com) public final class Nutz { /** * 获取 Nutz 的版本号,版本号的命名规范 * *

     * [大版本号].[质量号].[发布流水号]
     * 
* * 这里有点说明 *
    *
  • 大版本号 - 表示 API 的版本,如果没有重大变化,基本上同样的大版本号,使用方式是一致的 *
  • 质量号 - 可能为 a: Alpha内部测试品质, b:Beta 公测品质, r:Release 最终发布版 *
  • 发布流水 - 每次发布增加 1 *
* * @return nutz 项目的版本号 */ public static String version() { return String.format("%d.%s.%d-dev", majorVersion(), releaseLevel(), minorVersion()); } public static int majorVersion() { return 1; } public static int minorVersion() { return 53; } public static String releaseLevel() { return "b"; } } >>>>>>> 6c34e7711138ae4fe58bd20601273e3e07882b7c
Solution content
package org.nutz;

/**
 * 用于识别当前版本号和版权声明! 
* Nutz is Licensed under the Apache License, Version 2.0 (the "License") *

* http://www.apache.org/licenses/LICENSE-2.0 * * @author Wendal(wendal1985@gmail.com) * */ public final class Nutz { /** * 获取 Nutz 的版本号,版本号的命名规范 * *

     * [大版本号].[质量号].[发布流水号]
     * 
* * 这里有点说明 *
    *
  • 大版本号 - 表示 API 的版本,如果没有重大变化,基本上同样的大版本号,使用方式是一致的 *
  • 质量号 - 可能为 a: Alpha内部测试品质, b:Beta 公测品质, r:Release 最终发布版 *
  • 发布流水 - 每次发布增加 1 *
* * @return nutz 项目的版本号 */ public static String version() { return String.format("%d.%s.%d", majorVersion(), releaseLevel(), minorVersion()); } public static int majorVersion() { return 1; } public static int minorVersion() { return 53; } public static String releaseLevel() { return "b"; } }
File
Nutz.java
Developer's decision
Version 1
Kind of conflict
Class declaration
Comment
Package declaration