incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [2/3] wp7 commit: code formatting ResizePhoto method name for code consistency
Date Thu, 21 Jun 2012 00:06:53 GMT
code formatting ResizePhoto  method name for code consistency


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/891000c8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/891000c8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/891000c8

Branch: refs/heads/master
Commit: 891000c8803759ed5ec9480de155b2ff756ee50a
Parents: c7a075e
Author: hermwong <herm.wong@gmail.com>
Authored: Wed Jun 20 16:52:16 2012 -0700
Committer: hermwong <herm.wong@gmail.com>
Committed: Wed Jun 20 16:52:16 2012 -0700

----------------------------------------------------------------------
 framework/Cordova/Commands/Camera.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/891000c8/framework/Cordova/Commands/Camera.cs
----------------------------------------------------------------------
diff --git a/framework/Cordova/Commands/Camera.cs b/framework/Cordova/Commands/Camera.cs
index ec0cc1c..6620dd4 100644
--- a/framework/Cordova/Commands/Camera.cs
+++ b/framework/Cordova/Commands/Camera.cs
@@ -323,7 +323,6 @@ namespace WP7CordovaClassLib.Cordova.Commands
             }
         }
 
-
         /// <summary>
         /// Returns image content in a form of base64 string
         /// </summary>
@@ -344,7 +343,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
             else
             {
                 // resize photo
-                byte[] resizedFile = resizePhoto(stream, fileData);
+                byte[] resizedFile = ResizePhoto(stream, fileData);
                 stream.Close();
                 return Convert.ToBase64String(resizedFile);
             }
@@ -356,7 +355,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
         /// <param name="stream">Image stream</param>
         /// <param name="fileData">File data</param>
         /// <returns>resized image</returns>
-        private byte[] resizePhoto(Stream stream, byte[] fileData)
+        private byte[] ResizePhoto(Stream stream, byte[] fileData)
         {
             int streamLength = (int)stream.Length;
             int intResult = 0;


Mime
View raw message