1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +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.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@ -7,7 +7,7 @@
*
* Contributors:
* Andrew Eidsness - Initial implementation
*/
*******************************************************************************/
package org.eclipse.cdt.internal.core.dom.ast.tag;
import org.eclipse.cdt.core.dom.ast.IASTDeclarator;
@ -47,7 +47,7 @@ public class NonCachedTaggable implements ITagReader, ITagWriter {
@Override
public boolean setTags(Iterable<ITag> tags) {
// This non-caching implementation has nothing to set, the tags will be regenerated
// when they are queried
// when they are queried.
return true;
}

View file

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

View file

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

View file

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

View file

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