bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public MBCategory updateCategory( String categoryId, String parentCategoryId, String name, String description, boolean mergeWithParentCategory) throws PortalException, SystemException { // Category MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); String oldCategoryId = category.getParentCateg... | public MBCategory updateCategory( String categoryId, String parentCategoryId, String name, String description, boolean mergeWithParentCategory) throws PortalException, SystemException { // Category MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); String oldCategoryId = category.getParentCateg... | 3,224,952 |
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, int max, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); ... | public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | 3,224,953 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,954 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,955 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,956 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,957 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,958 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,959 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,960 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,961 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,224,962 |
private void hookApplicationMenu(Display display) { // Callback target Object target = new Object() { public int commandProc(int nextHandler, int theEvent, int userData) { if (OS.GetEventKind(theEvent) == OS.kEventProcessCommand) { HICommand command = new H... | private void hookApplicationMenu(Display display) { // Callback target Object target = new Object() { public int commandProc(int nextHandler, int theEvent, int userData) { if (OS.GetEventKind(theEvent) == OS.kEventProcessCommand) { HICommand command = new H... | 3,224,964 |
protected void hookToolbarButtonCallback() { Object target = new Object() { public int toolbarProc (int nextHandler, int theEvent, int userData) { int eventKind = OS.GetEventKind (theEvent); if (eventKind != OS.kEventWindowToolbarSwitchMode) return OS.eventNotHandledErr; int [] theWindow = new i... | protected void hookToolbarButtonCallback() { Object target = new Object() { public int toolbarProc (int nextHandler, int theEvent, int userData) { int eventKind = OS.GetEventKind (theEvent); if (eventKind != OS.kEventWindowToolbarSwitchMode) return OS.eventNotHandledErr; int [] theWindow = new i... | 3,224,965 |
public int compare(Object o1, Object o2) { IRubyObject obj1 = (IRubyObject) o1; IRubyObject obj2 = (IRubyObject) o2; if (o1 instanceof RubyFixnum && o2 instanceof RubyFixnum) { return (int) (RubyNumeric.fix2long(obj1) - RubyNumeric.fix2long(obj2)); } ... | public int compare(Object o1, Object o2) { IRubyObject obj1 = (IRubyObject) o1; IRubyObject obj2 = (IRubyObject) o2; if (o1 instanceof RubyFixnum && o2 instanceof RubyFixnum) { long diff = RubyNumeric.fix2long(obj1) - RubyNumeric.fix2long(obj2); return diff < 0 ?... | 3,224,966 |
public com.liferay.portal.model.DataTracker update( com.liferay.portal.model.DataTracker dataTracker) throws SystemException { Session session = null; try { if (dataTracker.isNew() || dataTracker.isModified()) { session = openSession(); if (dataTracker.isNew()) { DataTracker dataTrackerModel = new Data... | public com.liferay.portal.model.DataTracker update( com.liferay.portal.model.DataTracker dataTracker) throws SystemException { Session session = null; try { if (dataTracker.isNew() || dataTracker.isModified()) { session = openSession(); if (dataTracker.isNew()) { DataTracker dataTrackerModel = new Data... | 3,224,967 |
public BasicSocketMetaClass(Ruby runtime) { super("BasicSocket", RubyBasicSocket.class, runtime.getClasses().getIoClass()); } | public BasicSocketMetaClass(Ruby runtime) { super("BasicSocket", RubyBasicSocket.class, runtime.getClass("IO")); } | 3,224,968 |
public IStatus runInUIThread(IProgressMonitor monitor) { animationProcessor.animationStarted(); return Status.OK_STATUS; } | public IStatus runInUIThread(IProgressMonitor monitor) { animationProcessor.animationStarted(); return Status.OK_STATUS; } | 3,224,971 |
private void animationFinished() { UIJob animationDoneJob = new WorkbenchJob(ProgressMessages.getString("AnimationManager.DoneJobName")) { //$NON-NLS-1$ /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(I... | private void animationFinished() { UIJob animationDoneJob = new WorkbenchJob(ProgressMessages.getString("AnimationManager.DoneJobName")) { //$NON-NLS-1$ /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(I... | 3,224,972 |
private void animationStarted() { WorkbenchJob animationStartJob = new WorkbenchJob(ProgressMessages .getString("AnimationManager.AnimationStart")) {//$NON-NLS-1$ /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus ru... | private void animationStarted() { WorkbenchJob animationStartJob = new WorkbenchJob(ProgressMessages .getString("AnimationManager.AnimationStart")) {//$NON-NLS-1$ /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus ru... | 3,224,973 |
public FCallNode(ISourcePosition position, String name, IListNode argsNode) { super(position); this.name = name.intern(); this.argsNode = argsNode; if (! (argsNode instanceof ArrayNode)) { if (argsNode != null) { System.out.println("" + argsNode.getClass()); ... | public FCallNode(ISourcePosition position, String name, INode argsNode) { super(position); this.name = name.intern(); this.argsNode = argsNode; if (! (argsNode instanceof ArrayNode)) { if (argsNode != null) { System.out.println("" + argsNode.getClass()); ... | 3,224,974 |
public FCallNode(ISourcePosition position, String name, IListNode argsNode) { super(position); this.name = name.intern(); this.argsNode = argsNode; if (! (argsNode instanceof ArrayNode)) { if (argsNode != null) { System.out.println("" + argsNode.getClass()); ... | public FCallNode(ISourcePosition position, String name, IListNode argsNode) { super(position); this.name = name.intern(); this.argsNode = argsNode; if (! (argsNode instanceof ArrayNode)) { if (argsNode != null) { System.out.println("" + argsNode.getClass()); ... | 3,224,975 |
public IListNode getArgsNode() { return argsNode; } | public INode getArgsNode() { return argsNode; } | 3,224,976 |
private boolean updateNatures() { // define the operation to update natures WorkspaceModifyOperation op = new WorkspaceModifyOperation() { protected void execute(IProgressMonitor monitor) throws CoreException { try { IProjectDescription d... | private boolean updateNatures() { // define the operation to update natures WorkspaceModifyOperation op = new WorkspaceModifyOperation() { protected void execute(IProgressMonitor monitor) throws CoreException { try { IProjectDescription d... | 3,224,977 |
protected int authenticate( String companyId, String emailAddress, String userId, String password) throws Exception { boolean enabled = PrefsPropsUtil.getBoolean( companyId, PropsUtil.AUTH_IMPL_LDAP_ENABLED); if (!enabled) { if (_log.isDebugEnabled()) { _log.debug("Authenticator is not enabled"); } r... | protected int authenticate( String companyId, String emailAddress, String userId, String password) throws Exception { boolean enabled = PrefsPropsUtil.getBoolean( companyId, PropsUtil.AUTH_IMPL_LDAP_ENABLED); if (!enabled) { if (_log.isDebugEnabled()) { _log.debug("Authenticator is not enabled"); } r... | 3,224,978 |
public WorkspaceOperationsTests() { super(); } | public WorkspaceOperationsTests() { super(); } | 3,224,980 |
private void execute(IUndoableOperation operation) throws ExecutionException { assertTrue("Operation can be executed", operation.canExecute()); assertTrue("Execution should be OK status", history.execute(operation, getMonitor(), null).equals(Status.OK_STATUS)); } | private void execute(IUndoableOperation operation) throws ExecutionException { assertTrue("Operation can be executed", operation.canExecute()); assertTrue("Execution should be OK status", history.execute(operation, getMonitor(), null).equals(Status.OK_STATUS)); } | 3,224,981 |
private void execute(IUndoableOperation operation) throws ExecutionException { assertTrue("Operation can be executed", operation.canExecute()); assertTrue("Execution should be OK status", history.execute(operation, getMonitor(), null).equals(Status.OK_STATUS)); } | private void execute(IUndoableOperation operation) throws ExecutionException { assertTrue("Operation can be executed", operation.canExecute()); assertTrue("Execution should be OK status", history.execute(operation, getMonitor(), null).equals(Status.OK_STATUS)); } | 3,224,982 |
private void redo() throws ExecutionException { assertTrue("Operation can be redone", history.canRedo(context)); assertTrue("Redo should be OK status", history.redo(context, getMonitor(), null).equals(Status.OK_STATUS)); } | private void redo() throws ExecutionException { assertTrue("Operation can be redone", history.canRedo(context)); assertTrue("Redo should be OK status", history.redo(context, getMonitor(), null).equals(Status.OK_STATUS)); } | 3,224,983 |
public void testCreateMarkerUndoInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op ... | public void testCreateMarkerUndoInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op ... | 3,224,984 |
public void testCreateMarkerUndoInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op ... | public void testCreateMarkerUndoInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op ... | 3,224,985 |
public void testCreateMarkerUndoInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op... | public void testCreateMarkerUndoInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op... | 3,224,986 |
public void testCreateMarkerUndoInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op... | public void testCreateMarkerUndoInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op... | 3,224,987 |
public void testCreateMarkerUndoInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op... | public void testCreateMarkerUndoInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op... | 3,224,988 |
public void testCreateMultipleMarkerTypesUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOpe... | public void testCreateMultipleMarkerTypesUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOpe... | 3,224,989 |
public void testCreateMultipleMarkersSingleTypeUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { CUSTOM_TYPE, CUSTOM_TYPE, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperat... | public void testCreateMultipleMarkersSingleTypeUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { CUSTOM_TYPE, CUSTOM_TYPE, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperat... | 3,224,990 |
public void testCreateSingleMarkerUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK }; Map[] attrs = new Map[] { getInitialMarkerAttributes() }; CreateMarkersOperation op = new CreateMarkersOperation( IMarker.BOOKMARK, getInitialMarkerAttributes(), testFile1... | public void testCreateSingleMarkerUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK }; Map[] attrs = new Map[] { getInitialMarkerAttributes() }; CreateMarkersOperation op = new CreateMarkersOperation( IMarker.BOOKMARK, getInitialMarkerAttributes(), testFile1... | 3,224,991 |
public void testDeleteMarkersUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | public void testDeleteMarkersUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getUpdatedMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | 3,224,992 |
public void testUpdateAndMergeMultipleMarkerUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkers... | public void testUpdateAndMergeMultipleMarkerUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkers... | 3,224,993 |
public void testUpdateAndMergeSingleMarkerUndoRedo() throws ExecutionException, CoreException { CreateMarkersOperation op = new CreateMarkersOperation( IMarker.BOOKMARK, getInitialMarkerAttributes(), testFile1, "Create Marker Test"); execute(op); UpdateMarkersOperation updateOp = new UpdateMarkersOperation(... | public void testUpdateAndMergeSingleMarkerUndoRedo() throws ExecutionException, CoreException { CreateMarkersOperation op = new CreateMarkersOperation( IMarker.BOOKMARK, getInitialMarkerAttributes(), testFile1, "Create Marker Test"); execute(op); UpdateMarkersOperation updateOp = new UpdateMarkersOperation(... | 3,224,994 |
public void testUpdateMarkersInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = n... | public void testUpdateMarkersInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = n... | 3,224,995 |
public void testUpdateMarkersInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = n... | public void testUpdateMarkersInvalid() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = n... | 3,224,996 |
public void testUpdateMarkersInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | public void testUpdateMarkersInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | 3,224,997 |
public void testUpdateMarkersInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | public void testUpdateMarkersInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | 3,224,998 |
public void testUpdateMarkersInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | public void testUpdateMarkersInvalid2() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperation op = ... | 3,224,999 |
public void testUpdateMultipleMarkerUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperatio... | public void testUpdateMultipleMarkerUndoRedo() throws ExecutionException, CoreException { String[] types = new String[] { IMarker.BOOKMARK, IMarker.TASK, CUSTOM_TYPE }; Map[] attrs = new Map[] { getInitialMarkerAttributes(), getInitialMarkerAttributes(), getInitialMarkerAttributes() }; CreateMarkersOperatio... | 3,225,000 |
public void testUpdateSingleMarkerUndoRedo() throws ExecutionException, CoreException { CreateMarkersOperation op = new CreateMarkersOperation( IMarker.BOOKMARK, getInitialMarkerAttributes(), testFile1, "Create Marker Test"); execute(op); UpdateMarkersOperation updateOp = new UpdateMarkersOperation(op .g... | public void testUpdateSingleMarkerUndoRedo() throws ExecutionException, CoreException { CreateMarkersOperation op = new CreateMarkersOperation( IMarker.BOOKMARK, getInitialMarkerAttributes(), testFile1, "Create Marker Test"); execute(op); UpdateMarkersOperation updateOp = new UpdateMarkersOperation(op .g... | 3,225,001 |
private void undo() throws ExecutionException { assertTrue("Operation can be undone", history.canUndo(context)); assertTrue("Undo should be OK status", history.undo(context, getMonitor(), null).equals(Status.OK_STATUS)); } | private void undo() throws ExecutionException { assertTrue("Operation can be undone", history.canUndo(context)); assertTrue("Undo should be OK status", history.undo(context, getMonitor(), null).equals(Status.OK_STATUS)); } | 3,225,002 |
private void pullSelectorsFromDOMRule(org.w3c.dom.css.CSSStyleRule sacRule) { try { // note, we parse the selector for this instance, not the one from the CSS Style, which // might still be multi-part; selector for TODO is always single (no commas) sacSelectorList = ... | private void pullSelectorsFromDOMRule(org.w3c.dom.css.CSSStyleRule sacRule) { try { // note, we parse the selector for this instance, not the one from the CSS Style, which // might still be multi-part; selector for TODO is always single (no commas) sacSelectorList = ... | 3,225,003 |
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | 3,225,004 |
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | 3,225,005 |
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | 3,225,006 |
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf... | 3,225,007 |
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | 3,225,009 |
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | 3,225,010 |
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | 3,225,011 |
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M... | 3,225,012 |
public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx); } | public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx, true); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx); } | 3,225,013 |
public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx); } | public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx, true); } | 3,225,014 |
public ObjectMetaClass(Ruby runtime) { super(runtime, runtime.getClasses().getClassClass(), null, null, "Object"); this.builtinClass = RubyObject.class; initializeClass(); } | public ObjectMetaClass(Ruby runtime) { super(runtime, null /*Would be Class if it existed yet */, null, null, "Object"); this.builtinClass = RubyObject.class; initializeClass(); } | 3,225,015 |
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | privateUser cUser = UserDirectoryService.getCurrentUser(); voidUser cUser = UserDirectoryService.getCurrentUser(); sendSiteRequest(SessionStateUser cUser = UserDirectoryService.getCurrentUser(); state,User cUser = UserDirectoryService.getCurrentUser(); StringUser cUser = UserDirectoryService.getCurrentUser(); request,... | 3,225,016 |
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | 3,225,017 |
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | 3,225,018 |
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | 3,225,019 |
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | 3,225,020 |
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | 3,225,021 |
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); ... | 3,225,022 |
public void mousePressed( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ... | public void mousePressed( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ... | 3,225,023 |
public void mouseReleased( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ... | public void mouseReleased( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ... | 3,225,024 |
public IStatus runInUIThread(IProgressMonitor monitor) { if(viewer != null) { try { if (viewer.getControl().isDisposed()) { return Status.OK_STATUS; } Display display = viewer.getControl().getDisplay(); if (!display.isDisposed() && viewer != null) { viewer.refresh(); } } catch (R... | public IStatus runInUIThread(IProgressMonitor monitor) { if(viewer != null) { try { if (viewer.getControl().isDisposed()) { return Status.OK_STATUS; } Display display = viewer.getControl().getDisplay(); if (!display.isDisposed() && viewer != null) { viewer.refresh(); } } catch ... | 3,225,025 |
public IStatus runInUIThread(IProgressMonitor monitor) { if(viewer != null) { try { if (viewer.getControl().isDisposed()) { return Status.OK_STATUS; } Display display = viewer.getControl().getDisplay(); if (!display.isDisposed() && viewer != null) { viewer.refresh(); } } catch (R... | public IStatus runInUIThread(IProgressMonitor monitor) { if(viewer != null) { try { if (viewer.getControl().isDisposed()) { return Status.OK_STATUS; } Display display = viewer.getControl().getDisplay(); if (!display.isDisposed() && viewer != null) { viewer.refresh(); } } catch (R... | 3,225,026 |
public void notVisibleAdded(Object element, int index) { int requiredCount = index + 1; if(requiredCount > getTable().getItemCount()) getTable().setItemCount(10); Integer key = new Integer(index); virtualElements.put(key,element); } | public void notVisibleAdded(Object element, int index) { int requiredCount = index + 1; if(requiredCount > getTable().getItemCount()) getTable().setItemCount(10); Integer key = new Integer(index); virtualElements.put(key,element); } | 3,225,027 |
public Object getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); } | public List getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); } | 3,225,028 |
public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | 3,225,029 |
public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | 3,225,030 |
public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | 3,225,031 |
public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | public boolean completeHandshake() { if (!isConnected()) { return false; } // Create request for nodelist. RequestNodeList request = getController().getNodeManager() .createDefaultNodeListRequestMessage(); synchronized (peerInitalizeLock) { if (!is... | 3,225,032 |
private static Box layout(LayoutContext c, Box block, Content content, StyleSetListener listener) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } Rectangle oe = c.getE... | private static Box layout(LayoutContext c, Box block, Content content, StyleSetListener listener) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } Rectangle oe = c.getE... | 3,225,033 |
public void hideView() { if (currentPane == null) { return; } sash.setVisible(false); clientComposite.removeListener(SWT.Resize, resizeListener); // Get pane. // Hide the right side sash first hideFastViewSash(); Control ctrl = currentPane.getControl(); // Hide it completely. getPresentation().setV... | public void hideView() { if (currentPane == null) { return; } sash.setVisible(false); clientComposite.removeListener(SWT.Resize, resizeListener); // Get pane. // Hide the right side sash first hideFastViewSash(); Control ctrl = currentPane.getControl(); // Hide it completely. getPresentation().setV... | 3,225,034 |
public void hideView() { if (currentPane == null) { return; } sash.setVisible(false); clientComposite.removeListener(SWT.Resize, resizeListener); // Get pane. // Hide the right side sash first hideFastViewSash(); Control ctrl = currentPane.getControl(); // Hide it completely. getPresentation().setV... | public void hideView() { if (currentPane == null) { return; } sash.setVisible(false); clientComposite.removeListener(SWT.Resize, resizeListener); // Get pane. // Hide the right side sash first hideFastViewSash(); Control ctrl = currentPane.getControl(); // Hide it completely. getPresentation().setV... | 3,225,035 |
public void moveSash() { sash.moveSash(); } | public void moveSash() { sash.moveSash(); } | 3,225,036 |
public void showView(Composite newClientComposite, ViewPane pane, int newSide, float sizeRatio) { side = newSide; if (currentPane != null) { hideView(); } currentPane = pane; clientComposite = newClientComposite; clientComposite.addListener(SWT.Resize, resizeListener); // Create the control first Con... | public void showView(Composite newClientComposite, ViewPane pane, int newSide, float sizeRatio) { side = newSide; if (currentPane != null) { hideView(); } currentPane = pane; clientComposite = newClientComposite; clientComposite.addListener(SWT.Resize, resizeListener); // Create the control first Con... | 3,225,037 |
private void updateFastViewSashBounds() { Rectangle bounds = getBounds(); int oppositeSide = Geometry.getOppositeSide(side); Rectangle newBounds = Geometry.getExtrudedEdge(bounds, SASH_SIZE, oppositeSide); Rectangle oldBounds = sash.getBounds(); if (!newBounds.equals(oldBounds)) { sash.setBounds(newBounds... | private void updateFastViewSashBounds() { Rectangle bounds = getBounds(); int oppositeSide = Geometry.getOppositeSide(side); Rectangle newBounds = Geometry.getExtrudedEdge(bounds, SASH_SIZE, oppositeSide); Rectangle oldBounds = sash.getBounds(); if (!newBounds.equals(oldBounds)) { sash.setBounds(newBounds... | 3,225,038 |
public void testAbortUpload() { assertEquals(0, bartModelListener.events.size()); // Create a 20 megs file TestHelper.createRandomFile(getFolderAtBart().getLocalBase(), 20000000); getFolderAtBart().forceScanOnNextMaintenance(); getFolderAtBart().maintain(); TestHelper.waitF... | public void testAbortUpload() { assertEquals(0, bartModelListener.events.size()); // Create a 20 megs file TestHelper.createRandomFile(getFolderAtBart().getLocalBase(), 20000000); getFolderAtBart().forceScanOnNextMaintenance(); getFolderAtBart().maintain(); TestHelper.waitF... | 3,225,039 |
private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ... | private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { boolean applies = si.appliesToMedia(media); Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ... | 3,225,040 |
private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ... | private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } ... | 3,225,041 |
private boolean isScope(int scope) { return (scope_vmode & scope) != 0; } | private boolean isScope(int scope) { return (actMethodScope & scope) != 0; } | 3,225,043 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle, LinkedList pushedStyles) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for ... | 3,225,044 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | 3,225,045 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | 3,225,046 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | 3,225,047 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | 3,225,048 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != null) { for (Iterator i = ib.pushstyl... | int padWidth = ib.totalRightPadding(c.getCurrentStyle()); paintRightPadding(c, line, ib, padX, padWidth); padX += padWidth; int padWidth = ib.totalRightPadding(c.getCurrentStyle()); paintRightPadding(c, line, ib, padX, padWidth); padX += padWidth; int padWidth = ib.totalRightPadding(c.getCurrentStyle()); paintRightP... | 3,225,049 |
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such c.pushStyle(new CascadedStyle()); //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the con... | static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such c.pushStyle(new CascadedStyle()); //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the con... | 3,225,051 |
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such c.pushStyle(new CascadedStyle()); //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the con... | static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such c.pushStyle(new CascadedStyle()); //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the con... | 3,225,052 |
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such c.pushStyle(new CascadedStyle()); //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the con... | static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such c.pushStyle(new CascadedStyle()); //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the con... | 3,225,053 |
static void paintLine(Context c, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { // get Xx and y int lx = line.x; int ly = line.y + line.getBaseline(); // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child ... | static void paintLine(Context c, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle, CascadedStyle firstLineStyle) { // get Xx and y int lx = line.x; int ly = line.y + line.getBaseline(); // for each inline box for (int j = 0; j < line.getChildCount()... | 3,225,054 |
static void paintLine(Context c, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { // get Xx and y int lx = line.x; int ly = line.y + line.getBaseline(); // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child ... | static void paintLine(Context c, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics, boolean restyle) { // get Xx and y int lx = line.x; int ly = line.y + line.getBaseline(); // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child ... | 3,225,055 |
public Command cancelAllCommand() throws ParserException { consumeToken("Expected cancel all command.", null); InternalID orderID = new InternalID(""+0); Message message = new quickfix.fix42.Message(); message.getHeader().setField(new MsgType(MsgType.ORDER_CANCEL_REQUEST)); Lis... | public Command cancelAllCommand() throws ParserException { consumeToken("Expected cancel all command.", null); Message message = new quickfix.fix42.Message(); message.getHeader().setField(new MsgType(MsgType.ORDER_CANCEL_REQUEST)); List aList = new ArrayList(); aList.add... | 3,225,056 |
private RubyArray arrayValue(IRubyObject value) { IRubyObject newValue = value.convertToType("Array", "to_ary", false); if (newValue.isNil()) { // XXXEnebo: We should call to_a except if it is kernel def.... // but we will forego for now. newValue = RubyArray.newArray(... | private RubyArray arrayValue(IRubyObject value) { IRubyObject newValue = value.convertToType("Array", "to_ary", false); if (newValue.isNil()) { // XXXEnebo: We should call to_a except if it is kernel def.... // but we will forego for now. newValue = runtime.newArray(va... | 3,225,057 |
private IRubyObject aryToAry(IRubyObject value) { if (value instanceof RubyArray) { return value; } if (value.respondsTo("to_ary")) { return value.convertToType("Array", "to_ary", false); } return RubyArray.newArray(runtime, value); } | private IRubyObject aryToAry(IRubyObject value) { if (value instanceof RubyArray) { return value; } if (value.respondsTo("to_ary")) { return value.convertToType("Array", "to_ary", false); } return runtime.newArray(value); } | 3,225,058 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.