aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol/src/main
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-03-17 14:59:15 -0500
committersonartech <sonartech@sonarsource.com>2022-03-18 20:02:58 +0000
commit7aa77dfb2275f38de07c9d3b936e0eea43ac96af (patch)
tree0ff992bdb11f30f395243e86e1d3039847dd8231 /sonar-scanner-protocol/src/main
parenteb34454afc19f4994ae587b43ff2d0c79978de23 (diff)
downloadsonarqube-7aa77dfb2275f38de07c9d3b936e0eea43ac96af.tar.gz
sonarqube-7aa77dfb2275f38de07c9d3b936e0eea43ac96af.zip
SONAR-16097 Apply feedback
Diffstat (limited to 'sonar-scanner-protocol/src/main')
-rw-r--r--sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java2
-rw-r--r--sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/ScannerReportReader.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java
index d5bcf2a3a4d..6c33311fc5e 100644
--- a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java
+++ b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java
@@ -67,7 +67,7 @@ public class FileStructure {
}
public File analysisCache() {
- return new File(dir, "plugin-cache.pb");
+ return new File(dir, "analysis-cache.pb");
}
public File analysisLog() {
diff --git a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/ScannerReportReader.java b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/ScannerReportReader.java
index 5e1376a3f1c..006bdf66760 100644
--- a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/ScannerReportReader.java
+++ b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/ScannerReportReader.java
@@ -80,7 +80,7 @@ public class ScannerReportReader {
}
@CheckForNull
- public InputStream getPluginCache() {
+ public InputStream getAnalysisCache() {
File file = fileStructure.analysisCache();
if (fileExists(file)) {
try {