Skip to content

Commit 162f471

Browse files
PMD
1 parent 0473b0b commit 162f471

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

datamodel/odata-generator-utility/src/main/java/com/sap/cloud/sdk/datamodel/odata/utility/ServiceNameMappings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import com.google.common.base.Joiner;
1919

2020
import lombok.extern.slf4j.Slf4j;
21+
import lombok.val;
2122

2223
/**
2324
* This class is used to read and write service name mappings from a file.
@@ -49,9 +50,10 @@ private ServiceNameMappings( @Nonnull final Path file )
4950
* @param file
5051
* the file to read and write mappings from/to
5152
*/
53+
@Nonnull
5254
public static ServiceNameMappings load( @Nonnull final Path file )
5355
{
54-
ServiceNameMappings mappings = new ServiceNameMappings(file);
56+
val mappings = new ServiceNameMappings(file);
5557
if( Files.exists(file) ) {
5658
mappings.populateMappings();
5759
}

0 commit comments

Comments
 (0)