rpms/tomboy/devel tomboy-0.11.0-fill-empty-lines.patch, NONE, 1.1 tomboy.spec, 1.81, 1.82

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Jun 4 18:48:29 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/tomboy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27943

Modified Files:
	tomboy.spec 
Added Files:
	tomboy-0.11.0-fill-empty-lines.patch 
Log Message:
Add error messages instead of empty lines. Resolves warning CS0642: Possible mistaken empty statement .

tomboy-0.11.0-fill-empty-lines.patch:

--- NEW FILE tomboy-0.11.0-fill-empty-lines.patch ---
diff -up tomboy-0.11.0/Tomboy/Synchronization/FuseSyncServiceAddin.cs.BAD tomboy-0.11.0/Tomboy/Synchronization/FuseSyncServiceAddin.cs
--- tomboy-0.11.0/Tomboy/Synchronization/FuseSyncServiceAddin.cs.BAD	2008-06-04 13:42:58.000000000 -0400
+++ tomboy-0.11.0/Tomboy/Synchronization/FuseSyncServiceAddin.cs	2008-06-04 13:45:26.000000000 -0400
@@ -128,10 +128,10 @@ namespace Tomboy.Sync
 						break;
 					}
 					if (!testFileFound)
-						; // TODO: Throw TomboySyncException
+						throw new TomboySyncException (Catalog.GetString ("Could not read testfile."));
 					using (StreamReader reader = new StreamReader (testPath)) {
 						if (reader.ReadLine () != testLine)
-							; // TODO: Throw TomboySyncException
+							throw new TomboySyncException (Catalog.GetString ("Write test failed."));
 					}
 
 					// Test ability to delete


Index: tomboy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tomboy/devel/tomboy.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- tomboy.spec	4 Jun 2008 13:46:08 -0000	1.81
+++ tomboy.spec	4 Jun 2008 18:47:13 -0000	1.82
@@ -1,6 +1,6 @@
 Name:           tomboy
 Version:        0.11.0
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 Summary:        Tomboy is a desktop note-taking application for Linux and Unix
 
 Group:          User Interface/Desktops
@@ -12,6 +12,7 @@
 Source0:        http://download.gnome.org/sources/tomboy/0.11/%{name}-%{version}.tar.bz2
 Patch1:         tomboy-wrapper.patch
 Patch2:		no-start-here.patch
+Patch3:		tomboy-0.11.0-fill-empty-lines.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -50,6 +51,7 @@
 %setup -q
 %patch1 -p1 -b .wrapper
 %patch2 -p1 -b .no-start-here
+%patch3 -p1 -b .fill-empty-lines
 
 %build
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
@@ -117,6 +119,9 @@
 
 
 %changelog
+* Wed Jun 04 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.11.0-3
+- Add error messages instead of empty lines. Resolves "warning CS0642: Possible mistaken empty statement" errors.
+
 * Wed Jun 04 2008 Caolán McNamara <caolanm at redhat.com> - 0.11.0-2
 - rebuild for mono dependancies
 




More information about the fedora-extras-commits mailing list