Attached Files | 0001-STYLE-Drop-weird-copy-n-pasted-comments-from-api-fil.patch [^] (2,923 bytes) 2014-01-02 14:25 [Show Content] [Hide Content]From 9394d9530f2b1160c8cd369a3ada51ce2c3cac45 Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-mail@date.by>
Date: Wed, 20 Nov 2013 17:26:03 +0400
Subject: [PATCH] STYLE: Drop weird copy'n'pasted comments from api/* files
---
api/api_build.php | 2 --
api/api_coverage.php | 6 ++----
api/api_project.php | 2 --
api/api_repository.php | 2 --
api/api_user.php | 2 --
5 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/api/api_build.php b/api/api_build.php
index 20ced89..982f2de 100644
--- a/api/api_build.php
+++ b/api/api_build.php
@@ -22,8 +22,6 @@
$cdashpath = str_replace('\\', '/', dirname(dirname(__FILE__)));
set_include_path($cdashpath . PATH_SEPARATOR . get_include_path());
-// Return a tree of coverage directory with the number of line covered
-// and not covered
include_once('api.php');
class BuildAPI extends CDashAPI
diff --git a/api/api_coverage.php b/api/api_coverage.php
index 4937fc0..57d482a 100644
--- a/api/api_coverage.php
+++ b/api/api_coverage.php
@@ -22,14 +22,12 @@
$cdashpath = str_replace('\\', '/', dirname(dirname(__FILE__)));
set_include_path($cdashpath . PATH_SEPARATOR . get_include_path());
-// Return a tree of coverage directory with the number of line covered
-// and not covered
include_once('api.php');
class CoverageAPI extends CDashAPI
{
-
- /** Return the coverage per directory */
+ /** Return the coverage per directory with the number of lines
+ * covered and not covered */
private function CoveragePerDirectory()
{
include_once('../cdash/common.php');
diff --git a/api/api_project.php b/api/api_project.php
index e265f92..ab161a7 100644
--- a/api/api_project.php
+++ b/api/api_project.php
@@ -22,8 +22,6 @@
$cdashpath = str_replace('\\', '/', dirname(dirname(__FILE__)));
set_include_path($cdashpath . PATH_SEPARATOR . get_include_path());
-// Return a tree of coverage directory with the number of line covered
-// and not covered
include_once('api.php');
class ProjectAPI extends CDashAPI
diff --git a/api/api_repository.php b/api/api_repository.php
index 5fa7707..551adf1 100644
--- a/api/api_repository.php
+++ b/api/api_repository.php
@@ -22,8 +22,6 @@
$cdashpath = str_replace('\\', '/', dirname(dirname(__FILE__)));
set_include_path($cdashpath . PATH_SEPARATOR . get_include_path());
-// Return a tree of coverage directory with the number of line covered
-// and not covered
include_once('api.php');
class RepositoryAPI extends CDashAPI
diff --git a/api/api_user.php b/api/api_user.php
index b2e8eaa..157d837 100644
--- a/api/api_user.php
+++ b/api/api_user.php
@@ -22,8 +22,6 @@
$cdashpath = str_replace('\\', '/', dirname(dirname(__FILE__)));
set_include_path($cdashpath . PATH_SEPARATOR . get_include_path());
-// Return a tree of coverage directory with the number of line covered
-// and not covered
include_once('api.php');
class UserAPI extends CDashAPI
--
1.8.4
|