1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-30 03:33:37 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2015-05-06 18:11:14 -07:00
parent f14b41343a
commit 07117f922a
5 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,4 @@
/* /*******************************************************************************
* Copyright (c) 2013 QNX Software Systems and others. * Copyright (c) 2013 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
@ -7,7 +7,7 @@
* *
* Contributors: * Contributors:
* Andrew Eidsness - Initial implementation * Andrew Eidsness - Initial implementation
*/ *******************************************************************************/
package org.eclipse.cdt.internal.core.dom.ast.tag; package org.eclipse.cdt.internal.core.dom.ast.tag;
import org.eclipse.cdt.core.dom.ast.IASTDeclarator; import org.eclipse.cdt.core.dom.ast.IASTDeclarator;
@ -47,7 +47,7 @@ public class NonCachedTaggable implements ITagReader, ITagWriter {
@Override @Override
public boolean setTags(Iterable<ITag> tags) { public boolean setTags(Iterable<ITag> tags) {
// This non-caching implementation has nothing to set, the tags will be regenerated // This non-caching implementation has nothing to set, the tags will be regenerated
// when they are queried // when they are queried.
return true; return true;
} }

View file

@ -1,4 +1,4 @@
/* /*******************************************************************************
* Copyright (c) 2013 QNX Software Systems and others. * Copyright (c) 2013 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
@ -7,7 +7,7 @@
* *
* Contributors: * Contributors:
* Andrew Eidsness - Initial implementation * Andrew Eidsness - Initial implementation
*/ *******************************************************************************/
package org.eclipse.cdt.internal.core.dom.ast.tag; package org.eclipse.cdt.internal.core.dom.ast.tag;
import org.eclipse.cdt.core.dom.ast.tag.ITag; import org.eclipse.cdt.core.dom.ast.tag.ITag;
@ -38,7 +38,7 @@ public class Tag implements IWritableTag {
} }
private boolean isInBounds(int offset, int len) { private boolean isInBounds(int offset, int len) {
return offset >= 0 && offset < buff.length && (offset + len) <= buff.length; return offset >= 0 && offset < buff.length && offset + len <= buff.length;
} }
@Override @Override

View file

@ -1,4 +1,4 @@
/* /*******************************************************************************
* Copyright (c) 2013 QNX Software Systems and others. * Copyright (c) 2013 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
@ -7,7 +7,7 @@
* *
* Contributors: * Contributors:
* Andrew Eidsness - Initial implementation * Andrew Eidsness - Initial implementation
*/ *******************************************************************************/
package org.eclipse.cdt.internal.core.dom.ast.tag; package org.eclipse.cdt.internal.core.dom.ast.tag;
import java.util.HashMap; import java.util.HashMap;

View file

@ -1,4 +1,4 @@
/* /*******************************************************************************
* Copyright (c) 2013 QNX Software Systems and others. * Copyright (c) 2013 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
@ -7,7 +7,7 @@
* *
* Contributors: * Contributors:
* Andrew Eidsness - Initial implementation * Andrew Eidsness - Initial implementation
*/ *******************************************************************************/
package org.eclipse.cdt.internal.core.dom.ast.tag; package org.eclipse.cdt.internal.core.dom.ast.tag;
import org.eclipse.cdt.core.dom.ast.IBinding; import org.eclipse.cdt.core.dom.ast.IBinding;

View file

@ -1,4 +1,4 @@
/* /*******************************************************************************
* Copyright (c) 2013 QNX Software Systems and others. * Copyright (c) 2013 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
@ -7,7 +7,7 @@
* *
* Contributors: * Contributors:
* Andrew Eidsness - Initial implementation * Andrew Eidsness - Initial implementation
*/ *******************************************************************************/
package org.eclipse.cdt.internal.core.dom.ast.tag; package org.eclipse.cdt.internal.core.dom.ast.tag;
import java.util.Arrays; import java.util.Arrays;