merge NPE bugfix from v0.2
[teamcity/dotNetPackagesSupport.git] / nuget-server / src / jetbrains / buildServer / nuget / server / exec / SourcePackageInfo.java
similarity index 89%
rename from nuget-server/src/jetbrains/buildServer/nuget/server/exec/PackageInfo.java
rename to nuget-server/src/jetbrains/buildServer/nuget/server/exec/SourcePackageInfo.java
index 0b318ff1d69df0d856f0331c70817e6ef2bd6917..5ab83963b15f38a384c2b1f9a007c7fa1f9d77d7 100644 (file)
@@ -23,12 +23,13 @@ import org.jetbrains.annotations.Nullable;
  * Created by Eugene Petrenko (eugene.petrenko@gmail.com)\r
  * Date: 14.07.11 13:17\r
  */\r
-public class PackageInfo {\r
+public class SourcePackageInfo {\r
   private final String mySource;\r
   private final String myPackageId;\r
   private final String myVersion;\r
 \r
-  public PackageInfo(@Nullable final String source,\r
+
+  public SourcePackageInfo(@Nullable final String source,\r
                            @NotNull final String packageId,\r
                            @NotNull final String version) {\r
     mySource = source;\r
@@ -53,7 +54,7 @@ public class PackageInfo {
 \r
   @Override\r
   public String toString() {\r
-    return "PackageInfo{" +\r
+    return "SourcePackageInfo{" +\r
             "mySource='" + mySource + '\'' +\r
             ", myPackageId='" + myPackageId + '\'' +\r
             ", myVersion='" + myVersion + '\'' +\r