[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9970 - Extractor-mono/LibExtractor/src
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9970 - Extractor-mono/LibExtractor/src |
Date: |
Sat, 9 Jan 2010 17:53:43 +0100 |
Author: patrick
Date: 2010-01-09 17:53:43 +0100 (Sat, 09 Jan 2010)
New Revision: 9970
Modified:
Extractor-mono/LibExtractor/src/AssemblyInfo.cs
Extractor-mono/LibExtractor/src/Extractor.cs
Log:
* LibExtractor/src/Extractor.cs: fix crash on keywords that are null
* LibExtractor/src/AssemblyInfo.cs: bump version number
Modified: Extractor-mono/LibExtractor/src/AssemblyInfo.cs
===================================================================
--- Extractor-mono/LibExtractor/src/AssemblyInfo.cs 2010-01-09 16:15:31 UTC
(rev 9969)
+++ Extractor-mono/LibExtractor/src/AssemblyInfo.cs 2010-01-09 16:53:43 UTC
(rev 9970)
@@ -33,7 +33,7 @@
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// If the build and revision are set to '*' they will be updated automatically.
-[assembly: AssemblyVersion("0.5.23.1")]
+[assembly: AssemblyVersion("0.5.23.2")]
// The following attributes are used to specify the signing key for the
assembly,
// if desired. See the Mono documentation for more information about signing.
Modified: Extractor-mono/LibExtractor/src/Extractor.cs
===================================================================
--- Extractor-mono/LibExtractor/src/Extractor.cs 2010-01-09 16:15:31 UTC
(rev 9969)
+++ Extractor-mono/LibExtractor/src/Extractor.cs 2010-01-09 16:53:43 UTC
(rev 9970)
@@ -225,10 +225,12 @@
string keyword = pos.keyword;
bool allWhite = true;
- for (int j = 0; j < keyword.Length; j++) {
- if (!char.IsWhiteSpace(keyword[j])) {
- allWhite = false;
- break;
+ if (keyword != null) {
+ for (int j = 0; j < keyword.Length;
j++) {
+ if
(!char.IsWhiteSpace(keyword[j])) {
+ allWhite = false;
+ break;
+ }
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9970 - Extractor-mono/LibExtractor/src,
gnunet <=