* GSWeb/GSWComponentDefinition.m

* GSWeb/GSWComponentReference.m
        * GSWeb/GSWContext.m
        * GSWeb/GSWHTMLDynamicElement.m
        * GSWeb/GSWHyperlink.m
        * GSWeb/GSWResourceManager.m
        * GSWeb/GSWResourceRequestHandler.m
          get rid of extaneous parentheses on equality tests


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36245 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sebastian Reitenbach 2013-03-03 02:02:36 +00:00
parent 1fb5357fd3
commit ec3794334c
8 changed files with 21 additions and 13 deletions

View file

@ -1,6 +1,14 @@
2013-03-02 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* GSWeb/GSWSessionTimeOutManager.h
GSWSessionTimeOutManager conforms to NSLocking protocol
* GSWeb/GSWComponentDefinition.m
* GSWeb/GSWComponentReference.m
* GSWeb/GSWContext.m
* GSWeb/GSWHTMLDynamicElement.m
* GSWeb/GSWHyperlink.m
* GSWeb/GSWResourceManager.m
* GSWeb/GSWResourceRequestHandler.m
get rid of extaneous parentheses on equality tests
2013-03-02 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* regenerate configure from configure.ac

View file

@ -553,7 +553,7 @@ static GSWContext * TheTemporaryContext;
NSDictionary * archive = nil;
NSString * encodingName = nil;
if ((_encoding == 0)) {
if (_encoding == 0) {
_encoding = [GSWMessage defaultEncoding]; // safer, because we may not have a .woo file
@ -565,7 +565,7 @@ static GSWContext * TheTemporaryContext;
{
_encoding = [GSMimeDocument encodingFromCharset:encodingName];
if ((_encoding == 0)) {
if (_encoding == 0) {
[NSException raise: NSInvalidArgumentException
format: @"%s %@ -- unknown encoding '%@'",__PRETTY_FUNCTION__, _wooPath, encodingName];
}

View file

@ -43,9 +43,9 @@ RCS_ID("$Id$")
-(id)initWithName:(NSString*)aName
associations:(NSDictionary*)associations
{
if ((self==[super initWithName:aName
if (self==[super initWithName:aName
associations:associations
template:nil])) {
template:nil]) {
ASSIGN(_name,aName);
ASSIGN(_keyAssociations,[NSMutableDictionary dictionaryWithDictionary:associations]);
@ -58,8 +58,8 @@ RCS_ID("$Id$")
associations:(NSDictionary*)associations
template:(GSWElement*)template
{
if ((self==[self initWithName:aName
associations:associations]))
if (self==[self initWithName:aName
associations:associations])
{
ASSIGN(_contentElement,template);
};

View file

@ -2129,7 +2129,7 @@ If none, try request languages
- (BOOL) secureMode
{
if ((_secureMode == -2)) {
if (_secureMode == -2) {
return [self secureRequest];
}
return ((_secureMode == YES));
@ -2194,7 +2194,7 @@ If none, try request languages
- (WOMarkupType) markupType
{
if ((_markupType == WOUndefinedMarkup))
if (_markupType == WOUndefinedMarkup)
{
GSWComponent* thePage = [self page];
if (thePage) {

View file

@ -192,7 +192,7 @@ static inline BOOL _needQuote(NSString* str_needQuote)
association = [_associations objectForKey: str];
if (([association isKindOfClass:[GSWConstantValueAssociation class]]) && ([self escapeHTML] == NO)) {
aValue = [association valueInComponent:nil];
if ((aValue == nil)) {
if (aValue == nil) {
s1 = @"";
} else {
s1 = (NSString*)aValue;

View file

@ -266,7 +266,7 @@ static Class NSStringClass = Nil;
NSString * str = nil;
NSString * path;
if ((aRequestHandlerPath == nil)) {
if (aRequestHandlerPath == nil) {
path = @"";
} else {
path = aRequestHandlerPath;

View file

@ -301,7 +301,7 @@ NSMutableDictionary *globalPathCache = nil;
NSRange range = [oldPath rangeOfString:@"Resources/WebServer"
options:NSBackwardsSearch];
if ((range.location == NSNotFound)) {
if (range.location == NSNotFound) {
if (([oldPath hasSuffix:@".wo"] == NO)) {
return nil;
}
@ -422,7 +422,7 @@ static NSDictionary * _cachedStringsTable(GSWResourceManager * resmanager, NSStr
} END_SYNCHRONIZED;
}
// we are using a static object so the == is ok here.
if ((stringTableDict == (NSDictionary*) [NSNull null]))
if (stringTableDict == (NSDictionary*) [NSNull null])
{
stringTableDict = nil;
}

View file

@ -56,7 +56,7 @@ RCS_ID("$Id$")
NSString * framework = nil;
NSRange range = [uri rangeOfString:@"/"];
if ((range.location == NSNotFound)) {
if (range.location == NSNotFound) {
// app wrapper resource
framework = nil;
} else {