diff --git a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/SofaBootVersion.java b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/SofaBootVersion.java deleted file mode 100644 index 96a3c52a9..000000000 --- a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/SofaBootVersion.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.alipay.sofa.boot; - -/** - * Exposes the SOFABoot version. - * - * @author huzijie - * @version SofaBootVersion.java, v 0.1 2023年08月03日 4:36 PM huzijie Exp $ - */ -public final class SofaBootVersion { - - private SofaBootVersion() { - } - - /** - * Return the full version string of the present SOFABoot codebase. - * @return the version of SOFABoot - */ - public static String getVersion() { - return "3.20.0"; - } -} diff --git a/sofa-boot-project/sofa-boot/src/test/java/com/alipay/sofa/boot/test/SOFABootVersionTest.java b/sofa-boot-project/sofa-boot/src/test/java/com/alipay/sofa/boot/test/SOFABootVersionTest.java deleted file mode 100644 index d65800d4e..000000000 --- a/sofa-boot-project/sofa-boot/src/test/java/com/alipay/sofa/boot/test/SOFABootVersionTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.alipay.sofa.boot.test; - -import com.alipay.sofa.boot.SofaBootVersion; -import org.junit.Assert; -import org.junit.Test; - -/** - * @author huzijie - * @version SOFABootVersionTest.java, v 0.1 2023年08月07日 12:10 PM huzijie Exp $ - */ -public class SOFABootVersionTest { - - @Test - public void testVersion() { - Assert.assertEquals("3.20.0", SofaBootVersion.getVersion()); - } -}