From 076af6460bcb8dd8e9026a43469b6f152f1d6152 Mon Sep 17 00:00:00 2001
From: Leo Gordon <lg4@ebi.ac.uk>
Date: Tue, 27 Mar 2012 11:22:11 +0000
Subject: [PATCH] a typo in comments

---
 modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm | 2 +-
 modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm b/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
index ae70e9bde..aca646260 100644
--- a/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
+++ b/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
@@ -126,7 +126,7 @@ sub CreateNewJob {
         or die "Coule not run\n\t$sql\nwith data:\n\t(".join(',', @values).')';
 
   my $job_id;
-  if($return_code > 0) {    # <--- for the same reason we have to be expliticly numeric here:
+  if($return_code > 0) {    # <--- for the same reason we have to be explicitly numeric here:
       $job_id = $dbc->db_handle->last_insert_id(undef, undef, 'job', 'job_id');
       $sth->finish;
 
diff --git a/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm b/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm
index e4e6f3747..a02be2852 100644
--- a/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm
+++ b/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm
@@ -314,7 +314,7 @@ sub store {
             my $return_code = $this_sth->execute( @$values_being_stored )
                     # using $return_code in boolean context allows to skip the value '0E0' ('no rows affected') that Perl treats as zero but regards as true:
                 or die "Could not store fields\n\t{$column_key}\nwith data:\n\t(".join(',', @$values_being_stored).')';
-            if($return_code > 0) {     # <--- for the same reason we have to be expliticly numeric here
+            if($return_code > 0) {     # <--- for the same reason we have to be explicitly numeric here
                 $self->mark_stored($object, $self->dbc->db_handle->last_insert_id(undef, undef, $table_name, $autoinc_id) );
             }
         }
-- 
GitLab