From f3f85128b4901491d665e82fcada27c0684af154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0est=C3=A1k=20V=C3=ADt?= Date: Thu, 5 May 2016 12:14:19 +0200 Subject: [PATCH] Removed unneeded params for index --- app/controllers/Application.scala | 16 ++++++++-------- app/views/index.scala.html | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/controllers/Application.scala b/app/controllers/Application.scala index f69b8f4..f25bb21 100644 --- a/app/controllers/Application.scala +++ b/app/controllers/Application.scala @@ -131,16 +131,16 @@ class Application @Inject() ( Logger.debug("footprint: "+ObjectGraphMeasurer.measure((vulnerableDependencies, allWarnings, groupedDependencies))) //Logger.debug("footprint: "+ObjectGraphMeasurer.measure(Array((vulnerableDependencies, allWarnings, groupedDependencies))))*/ Ok(views.html.index( - vulnerableDependencies = vulnerableDependencies, + //vulnerableDependencies = vulnerableDependencies, warnings = allWarnings, - librariesForTagsWithWarning = librariesForTagsWithWarning, - unclassifiedDependencies = unclassifiedDependencies, - groupedDependencies = groupedDependencies, - dependenciesForLibraries = groupedDependencies.flatMap(group => + //librariesForTagsWithWarning = librariesForTagsWithWarning, + //unclassifiedDependencies = unclassifiedDependencies, + //groupedDependencies = groupedDependencies, + /*dependenciesForLibraries = groupedDependencies.flatMap(group => group.identifiers.flatMap(_.toLibraryIdentifierOption).map(_ -> group) - ).groupBy(_._1).mapValues(_.map(_._2).toSet).map(identity), - allTags = allTags, - relatedDependenciesTags = relatedDependenciesTags, + ).groupBy(_._1).mapValues(_.map(_._2).toSet).map(identity),*/ + //allTags = allTags, + //relatedDependenciesTags = relatedDependenciesTags, lastRefreshTime = lastRefreshTime, versions = requiredVersions )) diff --git a/app/views/index.scala.html b/app/views/index.scala.html index 917b0a9..b3bde53 100644 --- a/app/views/index.scala.html +++ b/app/views/index.scala.html @@ -1,12 +1,12 @@ @( - vulnerableDependencies: Seq[GroupedDependency], - unclassifiedDependencies: Seq[(Int, Library)], + //vulnerableDependencies: Seq[GroupedDependency], + //unclassifiedDependencies: Seq[(Int, Library)], warnings: Seq[Warning], - groupedDependencies: Seq[GroupedDependency], - dependenciesForLibraries: Map[PlainLibraryIdentifier, Set[GroupedDependency]], - allTags: Seq[(Int, LibraryTag)], - relatedDependenciesTags: Map[Int, Set[LibraryTagAssignment]], - librariesForTagsWithWarning: SortedMap[(Int, LibraryTag), Seq[(Int, Library)]], + //groupedDependencies: Seq[GroupedDependency], + //dependenciesForLibraries: Map[PlainLibraryIdentifier, Set[GroupedDependency]], + //allTags: Seq[(Int, LibraryTag)], + //relatedDependenciesTags: Map[Int, Set[LibraryTagAssignment]], + //librariesForTagsWithWarning: SortedMap[(Int, LibraryTag), Seq[(Int, Library)]], lastRefreshTime: DateTime, versions: Map[String, Int] )(implicit req: DefaultRequest, snoozes: SnoozesInfo , messages: Messages)