mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-23 15:33:43 +00:00
* 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:
parent
9248fe8856
commit
bf98c56b9b
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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]];
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue