fix:.gitignore

This commit is contained in:
nieziyan 2023-09-07 20:09:42 +08:00
parent 72b017a650
commit 609852532a
4 changed files with 7 additions and 14 deletions

3
.gitignore vendored
View File

@ -12,3 +12,6 @@ rebel.xml
## json ## json
/json/ /json/
## log
derby.log

View File

@ -1,13 +0,0 @@
----------------------------------------------------------------
Thu Sep 07 18:35:29 CST 2023:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.14.2.0 - (1828579): instance a816c00e-018a-6f36-0bb6-000026acaf78
on database directory memory:E:\Code\RadionuclideAnalysis\AnalysisSystemForRadionuclide\dd4468e9-cdd6-4c7a-91ec-3c8744a24ea3 with class loader sun.misc.Launcher$AppClassLoader@18b4aac2
Loaded from file:/E:/maven/.m2/repository/org/apache/derby/derby/10.14.2.0/derby-10.14.2.0.jar
java.vendor=Oracle Corporation
java.runtime.version=1.8.0_351-b10
user.dir=E:\Code\RadionuclideAnalysis\AnalysisSystemForRadionuclide
os.name=Windows 10
os.arch=amd64
os.version=10.0
derby.system.home=null
Database Class Loader started - derby.database.classpath=''

View File

@ -123,4 +123,6 @@ public class SymbolConstant {
public static final String SPACE = " "; public static final String SPACE = " ";
public static final String LINE = "\n";
} }

View File

@ -1100,7 +1100,8 @@ public class SpectrumAnalysisServiceImpl implements ISpectrumAnalysisService {
String sampleInfo = buffer.toString(); String sampleInfo = buffer.toString();
String colon = SymbolConstant.COLON; String colon = SymbolConstant.COLON;
String space = SymbolConstant.SPACE; String space = SymbolConstant.SPACE;
List<String> sampleInfos = ListUtil.toList(sampleInfo.split("\n")).stream() String line = SymbolConstant.LINE;
List<String> sampleInfos = ListUtil.toList(sampleInfo.split(line)).stream()
.filter(StrUtil::isNotBlank) .filter(StrUtil::isNotBlank)
.filter(item -> StrUtil.contains(item,colon)) .filter(item -> StrUtil.contains(item,colon))
.collect(Collectors.toList()); .collect(Collectors.toList());