* GSWeb/GSWResourceManager.m

* GSWeb/GSWHTMLStaticElement.m
          do not use redundant stringWithString:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36247 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sebastian Reitenbach 2013-03-03 08:23:26 +00:00
parent 9248fe8856
commit bf98c56b9b
3 changed files with 5 additions and 2 deletions

View file

@ -11,6 +11,9 @@
get rid of extaneous parentheses on equality tests
* GSWeb/GSWUtils.m
NS(U)Integer conversions
* GSWeb/GSWResourceManager.m
* GSWeb/GSWHTMLStaticElement.m
do not use redundant stringWithString:
2013-03-02 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* regenerate configure from configure.ac

View file

@ -98,7 +98,7 @@ static Class GSWHTMLBareStringClass = Nil;
length:1];
if (associationValue)
{
[tmpHtmlBareStrings addObject:[NSString stringWithString:@"="]];
[tmpHtmlBareStrings addObject:@"="];
[tmpElementsMap appendBytes:&ElementsMap_htmlBareString
length:1];
[tmpHtmlBareStrings addObject:[NSString stringWithFormat:@"\"%@\"",associationValue]];

View file

@ -748,7 +748,7 @@ static NSString * _cachedStringForKey(GSWResourceManager * resmanager, NSString
type=[globalMime objectForKey:extension];
};
if (!type)
type=[NSString stringWithString:@"application/octet-stream"];
type=@"application/octet-stream";
return type;
};