lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 54fdce170cf6f77e54ce3a8a965f7954e5656b84 | 0 | marcrh/gwt-material,guibertjulien/gwt-material,GwtMaterialDesign/gwt-material,marcrh/gwt-material,marcrh/gwt-material,GwtMaterialDesign/gwt-material,guibertjulien/gwt-material,guibertjulien/gwt-material,GwtMaterialDesign/gwt-material | package gwt.material.design.client.base.mixin;
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 GwtMaterialDesign
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | gwt-material/src/main/java/gwt/material/design/client/base/mixin/EnabledMixin.java | package gwt.material.design.client.base.mixin;
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 GwtMaterialDesign
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | Fixed enabled mixin.
| gwt-material/src/main/java/gwt/material/design/client/base/mixin/EnabledMixin.java | Fixed enabled mixin. | <ide><path>wt-material/src/main/java/gwt/material/design/client/base/mixin/EnabledMixin.java
<ide> import com.google.gwt.user.client.ui.Widget;
<ide> import gwt.material.design.client.base.MaterialWidget;
<ide> import gwt.material.design.client.base.helper.StyleHelper;
<add>import gwt.material.design.client.base.mixin.... | |
Java | apache-2.0 | d44dc2c00b2474c82caacf21dabd94dba5d6f08b | 0 | san-tak/alien4cloud,alien4cloud/alien4cloud,alien4cloud/alien4cloud,alien4cloud/alien4cloud,san-tak/alien4cloud,san-tak/alien4cloud,san-tak/alien4cloud,alien4cloud/alien4cloud | package org.alien4cloud.server;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.annotation.Resource;
import javax.inject.Inject;
import org.alien4cloud.server.MaintenanceModeState.MaintenanceLog;
import org.springframework.stereotype.Service;
import com.google.common.collect.L... | alien4cloud-rest-api/src/main/java/org/alien4cloud/server/MaintenanceModeService.java | package org.alien4cloud.server;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.annotation.Resource;
import javax.inject.Inject;
import com.google.common.collect.Lists;
import lombok.extern.slf4j.Slf4j;
import org.alien4cloud.server.MaintenanceModeState.MaintenanceLog;
import o... | Add operations for internal maintenance management (process managed maintenance).
Prevent user from updating/disabling process managed maintenance.
| alien4cloud-rest-api/src/main/java/org/alien4cloud/server/MaintenanceModeService.java | Add operations for internal maintenance management (process managed maintenance). Prevent user from updating/disabling process managed maintenance. | <ide><path>lien4cloud-rest-api/src/main/java/org/alien4cloud/server/MaintenanceModeService.java
<ide> import javax.annotation.Resource;
<ide> import javax.inject.Inject;
<ide>
<del>import com.google.common.collect.Lists;
<del>import lombok.extern.slf4j.Slf4j;
<ide> import org.alien4cloud.server.MaintenanceModeState.Ma... | |
Java | mit | 54cfdb9424fa0097dd642b3a0d4166fe6bb3c624 | 0 | KJ4IPS/KaBan | package guru.haun.kaban.persistance;
import java.util.Date;
import java.util.UUID;
import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import com.avaje.ebean.validation.Length;
import com.avaje.ebean.validation.NotEmpty;
import com.avaje.ebean... | src/main/java/guru/haun/kaban/persistance/ActiveBansDBO.java | package guru.haun.kaban.persistance;
import java.util.Date;
import java.util.UUID;
import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import com.avaje.ebean.validation.Length;
import com.avaje.ebean.validation.NotEmpty;
import com.avaje.ebean... | Changed DATE's to NotNull | src/main/java/guru/haun/kaban/persistance/ActiveBansDBO.java | Changed DATE's to NotNull | <ide><path>rc/main/java/guru/haun/kaban/persistance/ActiveBansDBO.java
<ide> @NotEmpty
<ide> private String bannedName;
<ide>
<del> @NotEmpty
<add> @NotNull
<ide> private Date bannedTime;
<ide>
<del> @NotEmpty
<add> @NotNull
<ide> private Date expireTime;
<ide>
<ide> @Basic | |
Java | apache-2.0 | error: pathspec 'src/test/java/io/engagingspaces/vertx/dataloader/DataLoaderTest.java' did not match any file(s) known to git
| 58eab9e2a5ca01b64e7c353f3d6b6a8b6635c919 | 1 | engagingspaces/vertx-dataloader,graphql-java/java-dataloader | /*
* Copyright (c) 2016 The original author or authors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
*... | src/test/java/io/engagingspaces/vertx/dataloader/DataLoaderTest.java | Unit tests for DataLoader (partially complete)
| src/test/java/io/engagingspaces/vertx/dataloader/DataLoaderTest.java | Unit tests for DataLoader (partially complete) | <ide><path>rc/test/java/io/engagingspaces/vertx/dataloader/DataLoaderTest.java
<add>/*
<add> * Copyright (c) 2016 The original author or authors
<add> *
<add> * All rights reserved. This program and the accompanying materials
<add> * are made available under the terms of the Eclipse Public License v1.0
<add> * and Apac... | |
Java | mit | f8d1c1d284be6b559e7195f38d8289048abda3f4 | 0 | tkob/yokohamaunit,tkob/yokohamaunit | package yokohama.unit.translator;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.r... | src/test/java/yokohama/unit/translator/ParseTreeToAstVisitorTest.java | package yokohama.unit.translator;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.r... | Fix test data | src/test/java/yokohama/unit/translator/ParseTreeToAstVisitorTest.java | Fix test data | <ide><path>rc/test/java/yokohama/unit/translator/ParseTreeToAstVisitorTest.java
<ide>
<ide> @Test
<ide> public void testVisitFourPhaseTest() throws IOException {
<del> YokohamaUnitParser.FourPhaseTestContext ctx = parser("Test: Four phase test\nVerify\nAssert `1` is `1`.").fourPhaseTest();
<add> ... | |
Java | apache-2.0 | e7e43386dfd4082351aa021958b63826d0c3bd80 | 0 | mpetazzoni/ttorrent,JetBrains/ttorrent-lib,JetBrains/ttorrent-lib,mpetazzoni/ttorrent | package com.turn.ttorrent.client;
import com.turn.ttorrent.TempFiles;
import com.turn.ttorrent.WaitFor;
import com.turn.ttorrent.client.peer.SharingPeer;
import com.turn.ttorrent.common.Torrent;
import com.turn.ttorrent.tracker.TrackedPeer;
import com.turn.ttorrent.tracker.TrackedTorrent;
import com.turn.ttorrent.trac... | src/test/java/com/turn/ttorrent/client/ClientTest.java | package com.turn.ttorrent.client;
import com.turn.ttorrent.TempFiles;
import com.turn.ttorrent.WaitFor;
import com.turn.ttorrent.client.peer.SharingPeer;
import com.turn.ttorrent.common.Torrent;
import com.turn.ttorrent.tracker.TrackedPeer;
import com.turn.ttorrent.tracker.TrackedTorrent;
import com.turn.ttorrent.trac... | removed one seeder from test because otherwise client can download all file from this seeder
| src/test/java/com/turn/ttorrent/client/ClientTest.java | removed one seeder from test because otherwise client can download all file from this seeder | <ide><path>rc/test/java/com/turn/ttorrent/client/ClientTest.java
<ide> final File baseFile = tempFiles.createTempFile(piecesCount * pieceSize);
<ide> final File badFile = tempFiles.createTempFile(piecesCount * pieceSize);
<ide>
<del> final Client client1 = createAndStartClient();
<ide> final Cli... | |
JavaScript | mit | 72accd40fc59db5b2648f3a680f13bfa164d06e9 | 0 | nico-hn/color-contrast-calc | "use strict";
const ColorUtils = require("./color-utils").ColorUtils;
const Utils = ColorUtils;
/**
* Provides methods to calculate RGB colors.
* An instance represents a RGB color.
*/
class ColorContrastCalc {
/**
* @param {string|Array<number, number, number>} rgb - RGB value represented as a string (hex co... | lib/color-contrast-calc.js | "use strict";
const ColorUtils = require("./color-utils").ColorUtils;
const Utils = ColorUtils;
/**
* Provides methods to calculate RGB colors.
* An instance represents a RGB color.
*/
class ColorContrastCalc {
/**
* @param {string|Array<number, number, number>} rgb - RGB value represented as a string (hex co... | freeze ColorContrastCalc
| lib/color-contrast-calc.js | freeze ColorContrastCalc | <ide><path>ib/color-contrast-calc.js
<ide> this.loadColorKeywords(colorKeywordsJSON);
<ide> this.assignColorConstants();
<ide> this.generateWebSafeColors();
<add> Object.freeze(this);
<ide> }
<ide>
<ide> /**
<ide> this.prototype.BLACK = this.BLACK;
<ide> this.prototype.WHITE = this.WHITE;
<i... | |
Java | apache-2.0 | b7018f6bf3761cdf6966c9faef52c4dfae913be8 | 0 | mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron | /*
* Copyright 2014-2021 Real Logic Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | aeron-samples/src/main/java/io/aeron/samples/StreamStat.java | /*
* Copyright 2014-2021 Real Logic Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | [Java] Sort output of the StreamStat by sessionId/streamId/channel so that related items appear together.
| aeron-samples/src/main/java/io/aeron/samples/StreamStat.java | [Java] Sort output of the StreamStat by sessionId/streamId/channel so that related items appear together. | <ide><path>eron-samples/src/main/java/io/aeron/samples/StreamStat.java
<ide> */
<ide> public final class StreamStat
<ide> {
<add> private static final Comparator<StreamCompositeKey> LINES_COMPARATOR =
<add> Comparator.comparingLong(StreamCompositeKey::sessionId)
<add> .thenComparingInt(StreamComposite... | |
Java | agpl-3.0 | e62e514249c42792ae6517ea30d765faf8a9727f | 0 | Peergos/Peergos,ianopolous/Peergos,Peergos/Peergos,Peergos/Peergos,ianopolous/Peergos,ianopolous/Peergos | package peergos.server;
import peergos.server.cli.CLI;
import peergos.server.space.*;
import peergos.server.sql.*;
import peergos.server.storage.admin.*;
import peergos.shared.*;
import peergos.server.corenode.*;
import peergos.server.fuse.*;
import peergos.server.mutable.*;
import peergos.server.storage.*;
import pee... | src/peergos/server/Main.java | package peergos.server;
import peergos.server.cli.CLI;
import peergos.server.space.*;
import peergos.server.sql.*;
import peergos.server.storage.admin.*;
import peergos.shared.*;
import peergos.server.corenode.*;
import peergos.server.fuse.*;
import peergos.server.mutable.*;
import peergos.server.storage.*;
import pee... | Fix tests with default parameter value
| src/peergos/server/Main.java | Fix tests with default parameter value | <ide><path>rc/peergos/server/Main.java
<ide> new Command.Arg("mutable-pointers-file", "The filename for the mutable pointers datastore", true, "mutable.sql"),
<ide> new Command.Arg("social-sql-file", "The filename for the follow requests datastore", true, "social.sql"),
<ide> ... | |
Java | mit | fcedf52b0fec4291f6d72e5fbd09eb074d0d6486 | 0 | Suseika/inflectible,Suseika/liblexeme | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Georgy Vlasov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | src/main/java/org/tendiwa/inflectible/antlr/parsed/BasicTemplateBundleParser.java | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Georgy Vlasov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | #150 Add more constructors to BasicTemplateBundleParser
| src/main/java/org/tendiwa/inflectible/antlr/parsed/BasicTemplateBundleParser.java | #150 Add more constructors to BasicTemplateBundleParser | <ide><path>rc/main/java/org/tendiwa/inflectible/antlr/parsed/BasicTemplateBundleParser.java
<ide> import com.google.common.base.Joiner;
<ide> import java.io.IOException;
<ide> import java.io.InputStream;
<del>import org.antlr.v4.runtime.ANTLRInputStream;
<ide> import org.antlr.v4.runtime.CommonTokenStream;
<ide> import... | |
JavaScript | apache-2.0 | 9397ac1e043434f03916150563deb3ff46eb354d | 0 | modulexcite/experience-sampling,googlearchive/experience-sampling,modulexcite/experience-sampling,adrifelt/experience-sampling,googlearchive/experience-sampling,modulexcite/experience-sampling,adrifelt/experience-sampling,adrifelt/experience-sampling,googlearchive/experience-sampling | /**
* Experience Sampling event page.
*
* This background page handles the various events for registering participants
* and showing new surveys in response to API events.
*
* Participants must fill out both a consent form and a startup survey (with
* demographics) before they can begin to answer real survey que... | extension/background.js | /**
* Experience Sampling event page.
*
* This background page handles the various events for registering participants
* and showing new surveys in response to API events.
*
* Participants must fill out both a consent form and a startup survey (with
* demographics) before they can begin to answer real survey que... | remove debug code
| extension/background.js | remove debug code | <ide><path>xtension/background.js
<ide> cesp.LAST_NOTIFICATION_TIME = 'lastNotificationTime';
<ide> cesp.MINIMUM_SURVEY_DELAY = 300000; // 5 minutes in ms.
<ide> cesp.FIRST_SURVEY_READY = 'firstSurveyReady';
<del>cesp.FIRST_SURVEY_DELAY_LENGTH = 1;//40; // minutes
<add>cesp.FIRST_SURVEY_DELAY_LENGTH = 40; // minutes... | |
Java | agpl-3.0 | 09305e6626016eb7871341ebb771345306515669 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | ae2ad882-2e61-11e5-9284-b827eb9e62be | hello.java | ae253b34-2e61-11e5-9284-b827eb9e62be | ae2ad882-2e61-11e5-9284-b827eb9e62be | hello.java | ae2ad882-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>ae253b34-2e61-11e5-9284-b827eb9e62be
<add>ae2ad882-2e61-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 3cf300f1ca4252489d201cacb9e8ea5303601c70 | 0 | quantiply-fork/c5-replicator,cloud-software-foundation/c5-replicator,cloud-software-foundation/c5-replicator,quantiply-fork/c5-replicator | /*
* Copyright (C) 2014 Ohm Data
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program... | c5db/src/test/java/c5db/tablet/TabletTest.java | /*
* Copyright (C) 2014 Ohm Data
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program... | Make one more expectation pass
| c5db/src/test/java/c5db/tablet/TabletTest.java | Make one more expectation pass | <ide><path>5db/src/test/java/c5db/tablet/TabletTest.java
<ide> IRegion region = context.mock(IRegion.class);
<ide> HLog log = context.mock(HLog.class);
<ide>
<del> final String regionName = "foobar1234";
<ide> final List<Long> peerList = ImmutableList.of(1L, 2L, 3L);
<ide> final HRegionInfo regionInfo = new H... | |
Java | apache-2.0 | 6451b5f655ce586e98f49784a1b2a1cf0a8dbd9b | 0 | fbaligand/lognavigator,fbaligand/lognavigator | package org.lognavigator.service;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.uti... | src/main/java/org/lognavigator/service/HttpdLogAccessService.java | package org.lognavigator.service;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.math.BigDecimal;
import java.net.URL;
import java.net.URLConnection;
import java.text.ParseException;
import java.text.Simp... | - always use curl command for HTTPD log access configs (instead of
UrlConnection)
- add ability to call HTTPD server using HTTP basic authentication
- add ability to call HTTPD server through a proxy | src/main/java/org/lognavigator/service/HttpdLogAccessService.java | - always use curl command for HTTPD log access configs (instead of UrlConnection) - add ability to call HTTPD server using HTTP basic authentication - add ability to call HTTPD server through a proxy | <ide><path>rc/main/java/org/lognavigator/service/HttpdLogAccessService.java
<ide> import java.io.InputStreamReader;
<ide> import java.io.OutputStream;
<ide> import java.math.BigDecimal;
<del>import java.net.URL;
<del>import java.net.URLConnection;
<ide> import java.text.ParseException;
<ide> import java.text.SimpleDate... | |
JavaScript | mit | 400736956d7dca174286c4473977e0eeedf923d0 | 0 | Drathal/redux-playground,Drathal/redux-playground | import React, { Component } from 'react'
import { connect } from 'react-redux'
import { getProducts } from '../../../api/product'
import ProductsList from '../../views/ProductList'
import { addProduct, deleteProduct } from '../../../redux/modules/products/actions'
@connect((state) => {
return {products: state.pro... | src/components/containers/ProductListContainer/index.js | import React, { Component } from 'react'
import { connect } from 'react-redux'
import { getProducts } from '../../../api/product'
import ProductsList from '../../views/ProductList'
import { addProduct, deleteProduct } from '../../../redux/modules/products/actions'
@connect((state) => {
return {products: state.pro... | no translation mixing for now
| src/components/containers/ProductListContainer/index.js | no translation mixing for now | <ide><path>rc/components/containers/ProductListContainer/index.js
<ide> }
<ide>
<ide> render() {
<del> return (<ProductsList title="My Products"
<del> products={ this.props.products }
<add> return (<ProductsList products={ this.props.products }
<ide> ... | |
JavaScript | mit | ed2796dc708c1b5a94b637f24337bbf30d9176cc | 0 | beautify-web/js-beautify,beautify-web/js-beautify,beautify-web/js-beautify,beautify-web/js-beautify | js/src/html/test.js | < div > <span> </span> </div > | fixed typo on contributing file
| js/src/html/test.js | fixed typo on contributing file | <ide><path>s/src/html/test.js
<del>< div > <span> </span> </div > | ||
Java | mit | fd088db2f44c30946c4f6e672f75fe54e86d50b1 | 0 | thewillchang/VoogaSalad,goose2460/game_author_cs308,kevinli194/voogasalad_BitsPlease | package engine.level;
import java.util.Iterator;
import authoring.model.collections.ConditionIDsCollection;
import authoring.model.collections.GameObjectsCollection;
import engine.gameObject.GameObject;
/**
* A Level of the game. Contains all GameObjects and Actions and coordinates
* their interactions for linear ... | src/engine/level/Level.java | package engine.level;
import java.util.Iterator;
import authoring.model.collections.ConditionsCollection;
import authoring.model.collections.GameObjectsCollection;
import engine.conditions.Condition;
import engine.gameObject.GameObject;
/**
* A Level of the game. Contains all GameObjects and Actions and coordinates... | Level updated
| src/engine/level/Level.java | Level updated | <ide><path>rc/engine/level/Level.java
<ide>
<ide> import java.util.Iterator;
<ide>
<del>import authoring.model.collections.ConditionsCollection;
<add>import authoring.model.collections.ConditionIDsCollection;
<ide> import authoring.model.collections.GameObjectsCollection;
<del>import engine.conditions.Condition;
<ide... | |
Java | mit | 1a0653888234fe24a2c82f072a6db35d901a6e69 | 0 | joshimoo/gdi1-project | package de.tu_darmstadt.gdi1.gorillas.ui.states;
import de.matthiasmann.twl.Alignment;
import de.matthiasmann.twl.Button;
import de.matthiasmann.twl.slick.BasicTWLGameState;
import de.matthiasmann.twl.slick.RootPane;
import de.tu_darmstadt.gdi1.gorillas.assets.Assets;
import de.tu_darmstadt.gdi1.gorillas.entities.*;
i... | src/de/tu_darmstadt/gdi1/gorillas/ui/states/GamePlayState.java | package de.tu_darmstadt.gdi1.gorillas.ui.states;
import de.matthiasmann.twl.Alignment;
import de.matthiasmann.twl.Button;
import de.matthiasmann.twl.slick.BasicTWLGameState;
import de.matthiasmann.twl.slick.RootPane;
import de.tu_darmstadt.gdi1.gorillas.assets.Assets;
import de.tu_darmstadt.gdi1.gorillas.entities.*;
i... | Sound insert
| src/de/tu_darmstadt/gdi1/gorillas/ui/states/GamePlayState.java | Sound insert | <ide><path>rc/de/tu_darmstadt/gdi1/gorillas/ui/states/GamePlayState.java
<ide> if_angle = new AdvancedValueAdjusterInt();
<ide> btnThrow = new Button("Throw");
<ide>
<del> if_speed.setMinMaxValue(0, 200);
<add> if_speed.setMinMaxValue(0,200);
<ide> if_speed.setValue(80);
<ide> ... | |
Java | lgpl-2.1 | 60dfe55dd653c2997a2c95da890ab72d1f218df3 | 0 | exedio/copernica,exedio/copernica,exedio/copernica | /*
* Copyright (C) 2004-2007 exedio GmbH (www.exedio.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | runtime/testsrc/com/exedio/cope/pattern/MD5Test.java | /*
* Copyright (C) 2004-2007 exedio GmbH (www.exedio.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | test with null (2)
git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@8663 e7d4fc99-c606-0410-b9bf-843393a9eab7
| runtime/testsrc/com/exedio/cope/pattern/MD5Test.java | test with null (2) | <ide><path>untime/testsrc/com/exedio/cope/pattern/MD5Test.java
<ide> assertTrue(!item.checkPassword(upper));
<ide> assertTrue(!item.checkPassword(lower));
<ide> assertTrue(!item.checkPassword(""));
<del> assertContains(item.TYPE.search(item.password.equal(upper)));
<del> assertContains(item.TYPE.search(item.pas... | |
Java | bsd-3-clause | bcb6e9267b3a55d39729e160fa1f36a47a95d471 | 0 | yushan87/RESOLVE,yushan87/RESOLVE,ClemsonRSRG/RESOLVE,NighatYasmin/RESOLVE,ClemsonRSRG/RESOLVE,NighatYasmin/RESOLVE,ClemsonRSRG/RESOLVE,yushan87/RESOLVE,NighatYasmin/RESOLVE | /*
* VerificationContext.java
* ---------------------------------
* Copyright (c) 2017
* RESOLVE Software Research Group
* School of Computing
* Clemson University
* All rights reserved.
* ---------------------------------
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', whi... | src/main/java/edu/clemson/cs/rsrg/vcgeneration/utilities/VerificationContext.java | /*
* VerificationContext.java
* ---------------------------------
* Copyright (c) 2017
* RESOLVE Software Research Group
* School of Computing
* Clemson University
* All rights reserved.
* ---------------------------------
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', whi... | Add shared state realization convention/correspondence if requested
| src/main/java/edu/clemson/cs/rsrg/vcgeneration/utilities/VerificationContext.java | Add shared state realization convention/correspondence if requested | <ide><path>rc/main/java/edu/clemson/cs/rsrg/vcgeneration/utilities/VerificationContext.java
<ide> }
<ide> }
<ide>
<del> // Add the share variable realization's convention.
<del> if (addSharedConventionFlag) {
<del> // TODO: Add any shared variable's convention here.
<del> ... | |
Java | apache-2.0 | dcdb7e2cd354de189a415eb5138a77b9ad10c6bb | 0 | Am3o/eShop,Am3o/eShop | package de.hska.iwi.microservice.catalog.client;
import de.hska.iwi.microservice.catalog.client.api.ProductService;
import de.hska.iwi.microservice.catalog.entity.Product;
import org.apache.log4j.Logger;
import org.springframework.http.*;
import org.springframework.web.client.RestTemplate;
import org.springframework.w... | Microservice/Catalog/src/main/java/de/hska/iwi/microservice/catalog/client/ProductServiceClient.java | package de.hska.iwi.microservice.catalog.client;
import de.hska.iwi.microservice.catalog.client.api.ProductService;
import de.hska.iwi.microservice.catalog.entity.Product;
import org.apache.log4j.Logger;
import org.springframework.web.client.RestTemplate;
import java.util.List;
/**
* Created by ameo on 13.11.16.
*... | Anpassung der Product-Schnittstelle
| Microservice/Catalog/src/main/java/de/hska/iwi/microservice/catalog/client/ProductServiceClient.java | Anpassung der Product-Schnittstelle | <ide><path>icroservice/Catalog/src/main/java/de/hska/iwi/microservice/catalog/client/ProductServiceClient.java
<ide> import de.hska.iwi.microservice.catalog.client.api.ProductService;
<ide> import de.hska.iwi.microservice.catalog.entity.Product;
<ide> import org.apache.log4j.Logger;
<add>import org.springframework.http... | |
Java | lgpl-2.1 | c5cdb51aa8810ca21c92adf00ab98b900eeddd23 | 0 | threerings/nenya,threerings/nenya | //
// $Id$
//
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2011 Three Rings Design, Inc., All Rights Reserved
// http://code.google.com/p/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as p... | src/main/java/com/threerings/openal/SoundManager.java | //
// $Id$
//
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2011 Three Rings Design, Inc., All Rights Reserved
// http://code.google.com/p/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as p... | Scratch this one, calling getError prior to initializing the
openAL sound system doesn't work.
git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@1178 ed5b42cb-e716-0410-a449-f6a68f950b19
| src/main/java/com/threerings/openal/SoundManager.java | Scratch this one, calling getError prior to initializing the openAL sound system doesn't work. | <ide><path>rc/main/java/com/threerings/openal/SoundManager.java
<ide> protected SoundManager (RunQueue rqueue)
<ide> {
<ide> _rqueue = rqueue;
<del>
<del> AL10.alGetError(); // throw away any unchecked error prior to an op we want to check
<ide>
<ide> // initialize the OpenAL sound syste... | |
Java | apache-2.0 | 8f4dc21b7b4f31fcdb21a907278c3e34e09ad907 | 0 | jerkar/jerkar,jerkar/jerkar,jerkar/jerkar | package org.jerkar.tool.builtins.eclipse;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.xml.stream.FactoryConfigurationError;
import javax.xml.stream.XMLOutputF... | org.jerkar.core/src/main/java/org/jerkar/tool/builtins/eclipse/DotClasspathGenerator.java | package org.jerkar.tool.builtins.eclipse;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.xml.stream.FactoryConfigurationError;
import javax.xml.stream.XMLOutputF... | fixes #52
| org.jerkar.core/src/main/java/org/jerkar/tool/builtins/eclipse/DotClasspathGenerator.java | fixes #52 | <ide><path>rg.jerkar.core/src/main/java/org/jerkar/tool/builtins/eclipse/DotClasspathGenerator.java
<ide>
<ide> private void writeModuleEntry(JkModuleId moduleId, XMLStreamWriter writer, JkResolveResult resolveResult,
<ide> JkAttachedArtifacts jkAttachedArtifacts, Set<String> paths) throws XMLStreamExc... | |
Java | apache-2.0 | 223ef9d742fe9813d564b4722d69a02607174f3e | 0 | allotria/intellij-community,ibinti/intellij-community,vvv1559/intellij-community,ThiagoGarciaAlves/intellij-community,hurricup/intellij-community,idea4bsd/idea4bsd,mglukhikh/intellij-community,allotria/intellij-community,ibinti/intellij-community,youdonghai/intellij-community,apixandru/intellij-community,suncycheng/int... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/util/src/com/intellij/openapi/util/io/FileUtil.java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Fix of bug in FileUtil - do not empty the file if one tries to copy it into itself.
| platform/util/src/com/intellij/openapi/util/io/FileUtil.java | Fix of bug in FileUtil - do not empty the file if one tries to copy it into itself. | <ide><path>latform/util/src/com/intellij/openapi/util/io/FileUtil.java
<ide>
<ide> @SuppressWarnings("Duplicates")
<ide> private static void performCopy(@NotNull File fromFile, @NotNull File toFile, final boolean syncTimestamp) throws IOException {
<add> if (filesEqual(fromFile, toFile)) return;
<ide> final... | |
Java | apache-2.0 | 5047a860b8cc5a6c7a80d489e8cfbb3125a6e658 | 0 | ricardotealdi/http-client | package br.com.tealdi.httpclient.wrapper;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.uti... | src/main/java/br/com/tealdi/httpclient/wrapper/HttpConnectorWrapper.java | package br.com.tealdi.httpclient.wrapper;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.uti... | removed some commented code
| src/main/java/br/com/tealdi/httpclient/wrapper/HttpConnectorWrapper.java | removed some commented code | <ide><path>rc/main/java/br/com/tealdi/httpclient/wrapper/HttpConnectorWrapper.java
<ide> urlConnection.connect();
<ide>
<ide> return readResponse(urlConnection);
<del>
<del> /*System.setProperty("http.keepAlive", "FALSE");
<del> HttpURLConnection connection =
<del> (HttpURLConnection) new URL(request.getUr... | |
Java | apache-2.0 | 9326c93ff14f3b8df02006021e82aa1517039146 | 0 | opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core | package br.net.mirante.singular.form.mform.options;
import br.net.mirante.singular.form.mform.MILista;
import br.net.mirante.singular.form.mform.MInstancia;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map... | form/core/src/main/java/br/net/mirante/singular/form/mform/options/MOptionsConfig.java | package br.net.mirante.singular.form.mform.options;
import br.net.mirante.singular.form.mform.MILista;
import br.net.mirante.singular.form.mform.MInstancia;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map... | corrigindo commit errado refernetes aos bugs do select
| form/core/src/main/java/br/net/mirante/singular/form/mform/options/MOptionsConfig.java | corrigindo commit errado refernetes aos bugs do select | <ide><path>orm/core/src/main/java/br/net/mirante/singular/form/mform/options/MOptionsConfig.java
<ide>
<ide> import java.util.Map;
<ide> import java.util.UUID;
<del>import java.util.function.Supplier;
<ide>
<ide> /**
<ide> * Mapeia cada MInstancia fornecida pelo OptionsProvider
<ide> private BiMap<String, String... | |
JavaScript | apache-2.0 | 3587542a9bf2a4985f36a83fddd0dc98a4eb6bcc | 0 | neighbourhoodie/voice-of-interconnect,neighbourhoodie/voice-of-interconnect,neighbourhoodie/voice-of-interconnect | /* global localStorage */
module.exports = appNav
const $nav = document.querySelector('#app-nav')
const $showAbout = document.querySelector('.view__about')
const $showApp = document.querySelector('.view__app')
const $aboutDisplay = document.querySelector('.about')
const $closeAbout = document.querySelector('.close__... | app/lib/app-nav.js | // For mobile navigation
module.exports = appNav
const $nav = document.querySelector('#app-nav')
const $showAbout = document.querySelector('.view__about')
const $showApp = document.querySelector('.view__app')
const $aboutDisplay = document.querySelector('.about')
const $closeAbout = document.querySelector('.close__a... | fix: remember that welcome splash screen has been seen
cc @kidfribble
| app/lib/app-nav.js | fix: remember that welcome splash screen has been seen | <ide><path>pp/lib/app-nav.js
<del>// For mobile navigation
<add>/* global localStorage */
<ide> module.exports = appNav
<ide>
<ide> const $nav = document.querySelector('#app-nav')
<ide> const $closeAbout = document.querySelector('.close__about')
<ide>
<ide> function appNav () {
<del> $showAbout.addEventListener('cli... | |
Java | apache-2.0 | 60a352cda7157d7552e537bc99527f6d87ce05e5 | 0 | phlizik/FreeFlow,zhaochuanTeam/FreeFlow,rantianhua/FreeFlow,tsdl2013/FreeFlow,qingsong-xu/FreeFlow,hgl888/FreeFlow,elevenetc/FreeFlow,xiaoyanit/FreeFlow,predator11/FreeFlow-2-,pkexcellent/FreeFlow,hanhailong/FreeFlow,dhamofficial/FreeFlow,simple88/FreeFlow,Cryhelyxx/FreeFlow,hesling/FreeFlow,Comcast/FreeFlow,letanloc/F... | /*******************************************************************************
* Copyright 2013 Comcast Cable Communications Management, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | examples/Artbook/src/com/comcast/freeflow/examples/artbook/ArtbookActivity.java | /*******************************************************************************
* Copyright 2013 Comcast Cable Communications Management, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | Added another layout to the Artbook project
| examples/Artbook/src/com/comcast/freeflow/examples/artbook/ArtbookActivity.java | Added another layout to the Artbook project | <ide><path>xamples/Artbook/src/com/comcast/freeflow/examples/artbook/ArtbookActivity.java
<ide> import com.comcast.freeflow.core.Container;
<ide> import com.comcast.freeflow.core.FreeFlowItem;
<ide> import com.comcast.freeflow.core.Container.OnScrollListener;
<add>import com.comcast.freeflow.layouts.FreeFlowLayout;
<id... | |
JavaScript | mit | 293049b6be6ba46d9de9ee34bca3f16f60661839 | 0 | cpelletier88/cubot,cpelletier88/cubot,cpelletier88/cubot | var querystring = require('querystring');
var https = require('https');
module.exports = function(robot) {
function getEncodedToken(env) {
if(env === 'eval' || env === 'evaluation') {
return 'MGZjY2RiYzczNTgxY2EwZjliZjhjMzc5ZTZhOTY4MTM6MzcxOWExMjRiY2ZjMDNjNTM0ZDRmNWMwNWI1YTE5NmI=';
} else if(env === 'rc') {
... | scripts/cudasign.js | var querystring = require('querystring');
var https = require('https');
module.exports = function(robot) {
function getEncodedToken(env) {
if(env === 'eval' || env === 'evaluation') {
return 'MGZjY2RiYzczNTgxY2EwZjliZjhjMzc5ZTZhOTY4MTM6MzcxOWExMjRiY2ZjMDNjNTM0ZDRmNWMwNWI1YTE5NmI=';
} else if(env === 'rc') {
... | Forgot the environment when env is rc
| scripts/cudasign.js | Forgot the environment when env is rc | <ide><path>cripts/cudasign.js
<ide> case 'development':
<ide> hostname = 'api-dev.signnow.com';
<ide> break;
<del> case 'development':
<add> case 'rc':
<ide> hostname = 'api-rc.signnow.com';
<ide> break;
<ide> default: | |
Java | apache-2.0 | 5897c5c185e1ca4ce430f29310bef7059cdb5396 | 0 | electricalwind/greycat,electricalwind/greycat,Neoskai/greycat,electricalwind/greycat,Neoskai/greycat,electricalwind/greycat,Neoskai/greycat,Neoskai/greycat,electricalwind/greycat,datathings/greycat,datathings/greycat,Neoskai/greycat,datathings/greycat,datathings/greycat,datathings/greycat,datathings/greycat,electricalw... | package org.mwg.core.task;
import org.mwg.Callback;
import org.mwg.DeferCounter;
import org.mwg.Node;
import org.mwg.core.utility.CoreDeferCounter;
import org.mwg.plugin.Job;
import org.mwg.task.TaskAction;
import org.mwg.task.TaskContext;
class ActionJump implements TaskAction {
private final String _time;
... | core/src/main/java/org/mwg/core/task/ActionJump.java | package org.mwg.core.task;
import org.mwg.Callback;
import org.mwg.DeferCounter;
import org.mwg.Node;
import org.mwg.core.utility.CoreDeferCounter;
import org.mwg.plugin.Job;
import org.mwg.task.TaskAction;
import org.mwg.task.TaskContext;
public class ActionJump implements TaskAction {
private final String _tim... | fix action jump visibility
| core/src/main/java/org/mwg/core/task/ActionJump.java | fix action jump visibility | <ide><path>ore/src/main/java/org/mwg/core/task/ActionJump.java
<ide> import org.mwg.task.TaskAction;
<ide> import org.mwg.task.TaskContext;
<ide>
<del>
<del>public class ActionJump implements TaskAction {
<add>class ActionJump implements TaskAction {
<ide> private final String _time;
<ide>
<del> public ActionJ... | |
Java | mit | 5942e8cb7cc121712c8593c05a28f94a1b171f5e | 0 | ctlab/sgmwcs-solver,ctlab/sgmwcs-solver,ctlab/gmwcs-solver | package ru.ifmo.ctddev.gmwcs;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import org.jgrapht.UndirectedGraph;
import ru.ifmo.ctddev.gmwcs.graph.*;
import ru.ifmo.ctddev.gmwcs.solver.ComponentSolver;
import ru.ifmo.ctddev.gmwcs.solver.RLTSolver;
import ru.ifmo.ctddev.gmwcs.solver.SolverException;
impo... | src/main/java/ru/ifmo/ctddev/gmwcs/Main.java | package ru.ifmo.ctddev.gmwcs;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import org.jgrapht.UndirectedGraph;
import ru.ifmo.ctddev.gmwcs.graph.*;
import ru.ifmo.ctddev.gmwcs.solver.ComponentSolver;
import ru.ifmo.ctddev.gmwcs.solver.RLTSolver;
import ru.ifmo.ctddev.gmwcs.solver.SolverException;
impo... | Bug fixed
| src/main/java/ru/ifmo/ctddev/gmwcs/Main.java | Bug fixed | <ide><path>rc/main/java/ru/ifmo/ctddev/gmwcs/Main.java
<ide> rltSolver.setTuningTime((Double) optionSet.valueOf("tune"));
<ide> }
<ide> if (optionSet.has("probe")) {
<del> rltSolver.setTuningTime((Double) optionSet.valueOf("probe"));
<add> rltSolver.setProbingTime((Doub... | |
Java | mit | c6191303b29c6db9c3bd07823ed5e0fd977a9779 | 0 | ssyyddnneeyy/ChokingHazard-Iteration2 | package Models;
import Helpers.Json;
import java.util.*;
import Helpers.JsonObject;
public class JavaPlayer extends Player implements Serializable<JavaPlayer>{
private int famePoints;
private int actionPoints;
private int developersOffBoard;
//private int developersOnBoard;
private int numOneRiceTile;
private ... | src/Models/JavaPlayer.java | package Models;
import Helpers.Json;
import java.util.*;
import Helpers.JsonObject;
public class JavaPlayer extends Player implements Serializable<JavaPlayer>{
private int famePoints;
private int actionPoints;
private int developersOffBoard;
//private int developersOnBoard;
private int numOneRiceTile;
private ... | JavaPlayer save
| src/Models/JavaPlayer.java | JavaPlayer save | <ide><path>rc/Models/JavaPlayer.java
<ide> Json.jsonPair("developerArray", Json.serializeArray(developerArray)),
<ide> Json.jsonPair("selectedDeveloperIndex", Json.jsonValue(selectedDeveloperIndex + "")),
<ide> Json.jsonPair("currentlySelectedDeveloper", Json.jsonValue(currentlySelectedDeveloper + "")),
<del> ... | |
Java | apache-2.0 | 86821d53df72492a3d10cd15f817672602045bd9 | 0 | puppetlabs/trapperkeeper-webserver-jetty9,puppetlabs/trapperkeeper-webserver-jetty9 | package com.puppetlabs.trapperkeeper.services.webserver.jetty9.utils;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.util.security.CertificateUtils;
import org.eclipse.jetty.util.ssl.SslContextFactory;
import java.io.File;
import java.security.cert.CRL;
impor... | java/com/puppetlabs/trapperkeeper/services/webserver/jetty9/utils/InternalSslContextFactory.java | package com.puppetlabs.trapperkeeper.services.webserver.jetty9.utils;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.util.security.CertificateUtils;
import org.eclipse.jetty.util.ssl.SslContextFactory;
import java.io.File;
import java.security.cert.CRL;
impor... | (TK-149) Avoid reloading crl if crlPath is null
If the crlPath is null on the SSLContext, don't try to reload the crl
file from disk.
| java/com/puppetlabs/trapperkeeper/services/webserver/jetty9/utils/InternalSslContextFactory.java | (TK-149) Avoid reloading crl if crlPath is null | <ide><path>ava/com/puppetlabs/trapperkeeper/services/webserver/jetty9/utils/InternalSslContextFactory.java
<ide>
<ide> public void reload() throws Exception {
<ide> synchronized (this) {
<del> Exception reloadEx;
<add> Exception reloadEx = null;
<ide> int tries = maxTries;... | |
Java | mit | 5d6389249aa9189a2acba1814db0d772786da641 | 0 | lucko/LuckPerms | /*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | common/src/main/java/me/lucko/luckperms/common/api/implementation/ApiGroupManager.java | /*
* This file is part of LuckPerms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | Fix bug with searching for group permissions via the api
| common/src/main/java/me/lucko/luckperms/common/api/implementation/ApiGroupManager.java | Fix bug with searching for group permissions via the api | <ide><path>ommon/src/main/java/me/lucko/luckperms/common/api/implementation/ApiGroupManager.java
<ide> @Deprecated
<ide> public @NonNull CompletableFuture<List<HeldNode<String>>> getWithPermission(@NonNull String permission) {
<ide> Objects.requireNonNull(permission, "permission");
<del> return (... | |
JavaScript | mit | c3ced161ef7b2ef1c30a09104ef583421f9f3d00 | 0 | patternfly/patternfly-org | import React from 'react';
import { graphql } from 'gatsby';
import { Alert, PageSection, PageSectionVariants } from '@patternfly/react-core';
import AutoLinkHeader from '@content/AutoLinkHeader';
import { MDXProvider } from '@mdx-js/react';
import { MDXRenderer } from '../components/mdx-renderer';
import SideNav from ... | packages/patternfly-4/src/templates/mdxPF4Template.js | import React from 'react';
import { graphql } from 'gatsby';
import { Alert, PageSection, PageSectionVariants } from '@patternfly/react-core';
import AutoLinkHeader from '@content/AutoLinkHeader';
import { MDXProvider } from '@mdx-js/react';
import { MDXRenderer } from '../components/mdx-renderer';
import SideNav from ... | add paragraph spacing (#1496)
| packages/patternfly-4/src/templates/mdxPF4Template.js | add paragraph spacing (#1496) | <ide><path>ackages/patternfly-4/src/templates/mdxPF4Template.js
<ide> );
<ide> }
<ide> },
<del> pre: React.Fragment
<add> pre: React.Fragment,
<add> p: props => <p {...props} style={{ marginBottom: '16px' }} />
<ide> };
<ide> for (let i = 1; i <= 6; i++) {
<ide> components[`h${i}`] = props => { | |
JavaScript | mit | 78af3c7bd0570bf0a1700ff668241a7c96765d85 | 0 | Kenishi/BroadSpot,Kenishi/BroadSpot | var app = angular.module('hostControlApp', []);
app.controller('hostCtrl', function($scope) {
$scope.playlistName = "defaultPlaylistName";
$scope.playlist = [];
$scope.hostPlaylists = [];
$scope.banned = [];
$scope.banModalData = {};
$scope.partyCode = "12345";
$scope.powered = true;
$scope.testLoadPlaylist ... | node/public/js/host.js | var app = angular.module('hostControlApp', []);
app.controller('hostCtrl', function($scope) {
$scope.playlistName = "defaultPlaylistName";
$scope.playlist = [];
$scope.hostPlaylists = [];
$scope.banned = [];
$scope.banModalData = {};
$scope.partyCode = "12345";
$scope.powered = true;
$scope.testLoadPlaylist ... | fix bug preventing connecting to server
| node/public/js/host.js | fix bug preventing connecting to server | <ide><path>ode/public/js/host.js
<ide> };
<ide>
<ide> $scope.connect = function() {
<del> window.socket = io('/', $.cookie("sid"));
<add> window.socket = io('//');
<ide> window.socket.on('connect_error', function(data) {
<del> console.log("Connection error: " + data);
<del> window.location = '/host';
<add> ... | |
Java | apache-2.0 | 0404e37357b90b583d306074838d69c7074ce307 | 0 | apache/solr,apache/solr,apache/solr,apache/solr,apache/solr | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | lucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | LUCENE-7791: add tests with index sorting and sparse docvalues fields
| lucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java | LUCENE-7791: add tests with index sorting and sparse docvalues fields | <ide><path>ucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java
<ide> }
<ide> IOUtils.close(r, w, dir);
<ide> }
<add>
<add> public void testIndexSortWithSparseField() throws Exception {
<add> Directory dir = newDirectory();
<add> IndexWriterConfig iwc = new IndexWriterConfig(new MockAnalyz... | |
Java | apache-2.0 | 17be992d6c9c73536ba3d78b65c02cc0144417a7 | 0 | apache/incubator-apex-malhar,tushargosavi/incubator-apex-malhar,tweise/incubator-apex-malhar,vrozov/incubator-apex-malhar,DataTorrent/incubator-apex-malhar,apache/incubator-apex-malhar,trusli/apex-malhar,DataTorrent/incubator-apex-malhar,sandeep-n/incubator-apex-malhar,ananthc/apex-malhar,chinmaykolhatkar/incubator-ape... | /*
* Copyright (c) 2013 DataTorrent, Inc. ALL Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | library/src/main/java/com/datatorrent/lib/logs/MultiWindowDimensionAggregation.java | /*
* Copyright (c) 2013 DataTorrent, Inc. ALL Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | removing the elements from cache after end of window
| library/src/main/java/com/datatorrent/lib/logs/MultiWindowDimensionAggregation.java | removing the elements from cache after end of window | <ide><path>ibrary/src/main/java/com/datatorrent/lib/logs/MultiWindowDimensionAggregation.java
<ide> import java.util.regex.Matcher;
<ide> import java.util.regex.Pattern;
<ide>
<add>import javax.validation.constraints.NotNull;
<add>
<ide> import org.apache.commons.lang.mutable.MutableDouble;
<ide> import org.slf4j.Logg... | |
JavaScript | mpl-2.0 | f8ce8e14d36480488691e33e3fc43bbf385a408e | 0 | kapy2010/treeherder,kapy2010/treeherder,tojonmz/treeherder,tojonmz/treeherder,kapy2010/treeherder,edmorley/treeherder,KWierso/treeherder,kapy2010/treeherder,KWierso/treeherder,tojonmz/treeherder,tojonmz/treeherder,kapy2010/treeherder,tojonmz/treeherder,tojon/treeherder,tojon/treeherder,KWierso/treeherder,KWierso/treehe... | "use strict";
treeherder.controller('PinboardCtrl', [
'$scope', '$rootScope', '$document', '$timeout','thEvents', 'thPinboard', 'thNotify', 'ThLog',
function PinboardCtrl(
$scope, $rootScope, $document, $timeout, thEvents, thPinboard, thNotify, ThLog) {
var $log = new ThLog(this.constructor.na... | ui/plugins/pinboard.js | "use strict";
treeherder.controller('PinboardCtrl', [
'$scope', '$rootScope', '$document', '$timeout','thEvents', 'thPinboard', 'thNotify', 'ThLog',
function PinboardCtrl(
$scope, $rootScope, $document, $timeout, thEvents, thPinboard, thNotify, ThLog) {
var $log = new ThLog(this.constructor.na... | Bug 1217570 - Confirm that user really wants to cancel all jobs in pinboard (#2141)
| ui/plugins/pinboard.js | Bug 1217570 - Confirm that user really wants to cancel all jobs in pinboard (#2141) | <ide><path>i/plugins/pinboard.js
<ide> };
<ide>
<ide> $scope.cancelAllPinnedJobs = function() {
<del> $scope.cancelJobs(_.values($scope.pinnedJobs));
<add> if (window.confirm('This will cancel all the selected jobs. Are you sure?')) {
<add> $scope.cancelJobs(_.value... | |
Java | apache-2.0 | af76254e41ec53ecf1393d32e2a31bb6ef73d36a | 0 | bbrownz/kite,megnataraj/kite,bbaugher/kite,prazanna/kite,rbrush/kite,joey/kite,rdblue/kite,tomwhite/kite,bbrownz/kite,busbey/kite,EdwardSkoviak/kite,whoschek/kite,dlanza1/kite,kite-sdk/kite,mkwhitacre/kite,yuzhu712/cdk,yuzhu712/cdk,andrewrothstein/kite,megnataraj/kite,yuzhu712/cdk,busbey/kite,tinkujohn/kite,stevek-ngda... | /**
* Copyright 2013 Cloudera Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | cdk-data/cdk-data-core/src/main/java/com/cloudera/cdk/data/DatasetDescriptor.java | /**
* Copyright 2013 Cloudera Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | CDK-139: Adding location to DatasetDescriptors.
This adds a location URL to the DatasetDescriptor, which is accessible
through getLocation(). This also adds location(String) and location(URI)
and hasLocation() methods to the Builder and changes the schema(String)
to be a URI rather than a schema literal. To set a sche... | cdk-data/cdk-data-core/src/main/java/com/cloudera/cdk/data/DatasetDescriptor.java | CDK-139: Adding location to DatasetDescriptors. | <ide><path>dk-data/cdk-data-core/src/main/java/com/cloudera/cdk/data/DatasetDescriptor.java
<ide> import java.io.File;
<ide> import java.io.IOException;
<ide> import java.io.InputStream;
<add>import java.net.URISyntaxException;
<ide> import java.net.URL;
<add>import java.util.Arrays;
<ide> import org.apache.avro.reflec... | |
Java | apache-2.0 | 53f038ff2cbbd27a085219687191c315404ebd0e | 0 | apache/wicket,bitstorm/wicket,martin-g/wicket-osgi,mosoft521/wicket,bitstorm/wicket,selckin/wicket,apache/wicket,dashorst/wicket,freiheit-com/wicket,AlienQueen/wicket,freiheit-com/wicket,mosoft521/wicket,AlienQueen/wicket,dashorst/wicket,selckin/wicket,astrapi69/wicket,mosoft521/wicket,klopfdreh/wicket,klopfdreh/wicket... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentInheritedModel.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | WICKET-1461: javadoc fixes
git-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@642535 13f79535-47bb-0310-9956-ffa450edef68
| jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentInheritedModel.java | WICKET-1461: javadoc fixes | <ide><path>dk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentInheritedModel.java
<ide> * created with a null model
<ide> *
<ide> * <pre>
<del> * Form form = new Form(getPage(), "form", new ModelImplementingIInheritableModel());
<del> * new TextField(form, "textfield"); // notice text... | |
Java | mit | eca531a395c9cbf0ae5ba4b5c331deb4a45c96e9 | 0 | kbase/njs_wrapper,kbase/njs_wrapper,kbase/njs_wrapper,kbase/njs_wrapper,kbase/njs_wrapper,kbase/njs_wrapper | package us.kbase.narrativejobservice.sdkjobs;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.dockerjava.api.model.AccessMode;
import com.github.dockerjava.api.model.Bind;
import com.github.dockerjava.api.model.Volume;
import com.google.common.html.HtmlEscapers;
import org.apache.commons.lang3.St... | src/us/kbase/narrativejobservice/sdkjobs/SDKLocalMethodRunner.java | package us.kbase.narrativejobservice.sdkjobs;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.dockerjava.api.model.AccessMode;
import com.github.dockerjava.api.model.Bind;
import com.github.dockerjava.api.model.Volume;
import com.google.common.html.HtmlEscapers;
import org.apache.commons.lang3.St... | Formatting
| src/us/kbase/narrativejobservice/sdkjobs/SDKLocalMethodRunner.java | Formatting | <ide><path>rc/us/kbase/narrativejobservice/sdkjobs/SDKLocalMethodRunner.java
<ide> if (expire == null)
<ide> throw new Exception("Unable to get expiry date of token, we should cancel it now" + jsonMap.toString());
<ide>
<del> long ms = ( (long)expire - Instant.now().toEpochMilli());
<add> ... | |
Java | lgpl-2.1 | ff06043ee7e8924547b10c32898910619aff706a | 0 | ervandew/formic,ervandew/formic | /**
* Formic installer framework.
* Copyright (C) 2005 - 2006 Eric Van Dewoestine
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at you... | src/java/org/formic/wizard/impl/models/MultiPathModel.java | /**
* Formic installer framework.
* Copyright (C) 2005 - 2006 Eric Van Dewoestine
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at you... | override refreshModelState to do nothing and added public setNextAvailable
git-svn-id: 64dca1223d331db67f04737d5e1336182ee12169@261 1a7380c6-1923-0410-bcea-c2eae4ba7d6c
| src/java/org/formic/wizard/impl/models/MultiPathModel.java | override refreshModelState to do nothing and added public setNextAvailable | <ide><path>rc/java/org/formic/wizard/impl/models/MultiPathModel.java
<ide>
<ide> /**
<ide> * {@inheritDoc}
<add> * @see org.pietschy.wizard.AbstractWizardModel#setNextAvailable(boolean)
<add> */
<add> public void setNextAvailable (boolean available)
<add> {
<add> super.setNextAvailable(available);
<add> ... | |
Java | lgpl-2.1 | 00628d846d8126d4f6bbf37715e8bc3d4dbbb323 | 0 | sewe/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,sewe/spotbugs,spotbugs/spotbugs | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2003-2007 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, o... | findbugs/src/java/edu/umd/cs/findbugs/internalAnnotations/SlashedClassName.java | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2003-2007 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, o... | fix type qualifier for slashed class names; null can be either slashed or dotted
git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@14549 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
| findbugs/src/java/edu/umd/cs/findbugs/internalAnnotations/SlashedClassName.java | fix type qualifier for slashed class names; null can be either slashed or dotted | <ide><path>indbugs/src/java/edu/umd/cs/findbugs/internalAnnotations/SlashedClassName.java
<ide> /**
<ide> * * Denotes a class name or package name where the / character is used to
<ide> * separate package/class name components.
<del> *
<add> *
<ide> * @author pugh
<ide> */
<ide> @Documented
<ide> @TypeQualifier(ap... | |
Java | bsd-3-clause | b1519ca2552c91f4b2e9d9cb275d93b933163c4a | 0 | geneontology/minerva,geneontology/minerva,geneontology/minerva | package org.geneontology.minerva.cli;
import com.bigdata.journal.Options;
import com.bigdata.rdf.sail.BigdataSail;
import com.bigdata.rdf.sail.BigdataSailRepository;
import com.bigdata.rdf.sail.BigdataSailRepositoryConnection;
import com.google.common.base.Optional;
import com.google.gson.Gson;
import com.google.gson.... | minerva-cli/src/main/java/org/geneontology/minerva/cli/MinervaCommandRunner.java | package org.geneontology.minerva.cli;
import com.bigdata.journal.Options;
import com.bigdata.rdf.sail.BigdataSail;
import com.bigdata.rdf.sail.BigdataSailRepository;
import com.bigdata.rdf.sail.BigdataSailRepositoryConnection;
import com.google.common.base.Optional;
import com.google.gson.Gson;
import com.google.gson.... | Run command-line GPAD export in parallel.
| minerva-cli/src/main/java/org/geneontology/minerva/cli/MinervaCommandRunner.java | Run command-line GPAD export in parallel. | <ide><path>inerva-cli/src/main/java/org/geneontology/minerva/cli/MinervaCommandRunner.java
<ide> CurieMappings localMappings = new CurieMappings.SimpleCurieMappings(Collections.singletonMap(modelIdcurie, modelIdPrefix));
<ide> CurieHandler curieHandler = new MappedCurieHandler(DefaultCurieHandler.loadDefaultMapping... | |
Java | apache-2.0 | 9be8a8a969be1c6a54e63a6dd6012a603b774da0 | 0 | zml2008/configurate,zml2008/configurate | /**
* Configurate
* Copyright (C) zml and Configurate contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | configurate-hocon/src/test/java/ninja/leaping/configurate/hocon/HoconConfigurationLoaderTest.java | /**
* Configurate
* Copyright (C) zml and Configurate contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | Look at me, breaking the build
| configurate-hocon/src/test/java/ninja/leaping/configurate/hocon/HoconConfigurationLoaderTest.java | Look at me, breaking the build | <ide><path>onfigurate-hocon/src/test/java/ninja/leaping/configurate/hocon/HoconConfigurationLoaderTest.java
<ide>
<ide> import com.google.common.io.Files;
<ide> import com.google.common.io.Resources;
<add>import ninja.leaping.configurate.ConfigurationOptions;
<ide> import ninja.leaping.configurate.commented.CommentedC... | |
Java | apache-2.0 | 6bc9d4fb1e89b71efd911b5e184a8981e7492293 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.psi.impl;
import com.intellij.codeInsight.completion.CompletionUtilCoreImpl;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.... | python/python-psi-impl/src/com/jetbrains/python/psi/impl/PyCallExpressionHelper.java | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.psi.impl;
import com.intellij.codeInsight.completion.CompletionUtilCoreImpl;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.... | Use forEveryScopeTakeOverloadsOtherwiseImplementations in implicitly invoked methods and implicit results processing
Return list in forEveryScopeTakeOverloadsOtherwiseImplementations
GitOrigin-RevId: c3dddea449c393ce81e7e3e5bf00dc99ba94b443 | python/python-psi-impl/src/com/jetbrains/python/psi/impl/PyCallExpressionHelper.java | Use forEveryScopeTakeOverloadsOtherwiseImplementations in implicitly invoked methods and implicit results processing | <ide><path>ython/python-psi-impl/src/com/jetbrains/python/psi/impl/PyCallExpressionHelper.java
<ide> multiResolveCallee(call.getCallee(), resolveContext),
<ide> RatedResolveResult::getElement,
<ide> context
<del> ).collect(Collectors.toList())
<add> )
<ide> );
<ide>
<i... | |
Java | apache-2.0 | e612ffc98866a78cd9cb9d1ea61d66f37d5e6ff4 | 0 | hobinyoon/apache-cassandra-3.0.5-src,hobinyoon/apache-cassandra-3.0.5-src,hobinyoon/apache-cassandra-3.0.5-src | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | src/java/org/apache/cassandra/cql3/statements/SelectStatement.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | clean up
| src/java/org/apache/cassandra/cql3/statements/SelectStatement.java | clean up | <ide><path>rc/java/org/apache/cassandra/cql3/statements/SelectStatement.java
<ide> if (acorn_pr) {
<ide> // If the keyspace is acorn.*_pr, make the attributes popular in
<ide> // the local datacenter.
<del> final String acorn_ks_regex = String.format("%s.*_pr$", DatabaseDescri... | |
Java | apache-2.0 | 39e655e39e6d0d2faed3b7bd8c6d06969e09f5d7 | 0 | soundvibe/reacto | package net.soundvibe.reacto.client.commands;
import com.netflix.hystrix.exception.HystrixRuntimeException;
import net.soundvibe.reacto.utils.models.CustomError;
import net.soundvibe.reacto.client.errors.CommandNotFound;
import net.soundvibe.reacto.server.CommandRegistry;
import net.soundvibe.reacto.server.VertxServer... | src/test/java/net/soundvibe/reacto/client/commands/CommandExecutorTest.java | package net.soundvibe.reacto.client.commands;
import com.netflix.hystrix.exception.HystrixRuntimeException;
import net.soundvibe.reacto.utils.models.CustomError;
import net.soundvibe.reacto.client.errors.CommandNotFound;
import net.soundvibe.reacto.server.CommandRegistry;
import net.soundvibe.reacto.server.VertxServer... | use separate vertx instance for itests
| src/test/java/net/soundvibe/reacto/client/commands/CommandExecutorTest.java | use separate vertx instance for itests | <ide><path>rc/test/java/net/soundvibe/reacto/client/commands/CommandExecutorTest.java
<ide> CommandRegistry fallbackCommands = CommandRegistry.of(TEST_FAIL_BUT_FALLBACK_COMMAND,
<ide> o -> event1Arg("Recovered: " + o.get("arg")).toObservable());
<ide>
<del> Vertx vertx = Factories.vertx(... | |
Java | apache-2.0 | 89fdeb08e1b327d6a6b1ffa75cc7a73757b1f4a6 | 0 | rsudev/c-geo-opensource,rsudev/c-geo-opensource,cgeo/cgeo,cgeo/cgeo,rsudev/c-geo-opensource,cgeo/cgeo,tobiasge/cgeo,tobiasge/cgeo,tobiasge/cgeo,cgeo/cgeo | package cgeo.geocaching.filters.core;
import cgeo.geocaching.log.LogType;
import cgeo.geocaching.models.Geocache;
import cgeo.geocaching.storage.SqlBuilder;
import cgeo.geocaching.utils.CollectionStream;
import cgeo.geocaching.utils.expressions.ExpressionConfig;
import java.util.Arrays;
import org.apache.commons.lan... | main/src/cgeo/geocaching/filters/core/FavoritesGeocacheFilter.java | package cgeo.geocaching.filters.core;
import cgeo.geocaching.log.LogType;
import cgeo.geocaching.models.Geocache;
import cgeo.geocaching.storage.SqlBuilder;
import cgeo.geocaching.utils.CollectionStream;
import cgeo.geocaching.utils.expressions.ExpressionConfig;
import java.util.Arrays;
import org.apache.commons.lan... | fix #11154: make filter by fav percentage better visible (#11158)
| main/src/cgeo/geocaching/filters/core/FavoritesGeocacheFilter.java | fix #11154: make filter by fav percentage better visible (#11158) | <ide><path>ain/src/cgeo/geocaching/filters/core/FavoritesGeocacheFilter.java
<ide>
<ide> @Override
<ide> protected String getUserDisplayableConfig() {
<del> return super.getUserDisplayableConfig() + (percentage ? "%:" : "");
<add> if (percentage) {
<add> return (getMinRangeValue() == n... | |
JavaScript | mit | 12ad782f040e251417696167bfb360105c482dc9 | 0 | mephraim/candid_canvas | var CandidCanvas = CandidCanvas || {};
(function() {
/**
* The default time period (in milliseconds) between each tick
* of the animation
*
* @const
**/
var DEFAULT_FRAME_DURATION = 25;
/**
* Creates a new CandidCanvas Animator and attaches it to the
* Canvas element.
*
* @param {HTML... | lib/animator.js | var CandidCanvas = CandidCanvas || {};
(function() {
/**
* The default time period (in milliseconds) between each tick
* of the animation
*
* @const
**/
var DEFAULT_FRAME_DURATION = 25;
/**
* Creates a new CandidCanvas Animator and attaches it to the
* Canvas element.
*
* @param {HTML... | The clearCurrentScene method needs to check that a currentScene exists first
| lib/animator.js | The clearCurrentScene method needs to check that a currentScene exists first | <ide><path>ib/animator.js
<ide> * Set the current scene back to null
<ide> **/
<ide> anim.clearCurrentScene = function() {
<del> current.timeElapsed(0);
<del> currentScene = null;
<add> if (currentScene) {
<add> currentScene.timeElapsed(0);
<add> currentScene = null;
<add> ... | |
Java | apache-2.0 | 968f5080b6a9d2383efda3a734db84e27c39600b | 0 | kahboom/apiman,cmoulliard/apiman,jasonchaffee/apiman,apiman/apiman,eformat/apiman-1,EricWittmann/apiman,joelschuster/apiman,rnc/apiman,rnc/apiman,jasonchaffee/apiman,eformat/apiman-1,KurtStam/apiman,rnc/apiman,KurtStam/apiman,jasonchaffee/apiman,kahboom/apiman,cmoulliard/apiman,jcechace/apiman,joelschuster/apiman,apima... | /*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | manager/api/es/src/main/java/io/apiman/manager/api/es/EsStorage.java | /*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | better error reporting for failed ES indexing
| manager/api/es/src/main/java/io/apiman/manager/api/es/EsStorage.java | better error reporting for failed ES indexing | <ide><path>anager/api/es/src/main/java/io/apiman/manager/api/es/EsStorage.java
<ide> request.source(source);
<ide> JestResult response = esClient.execute(new CreateIndex.Builder(indexName).settings(source).build());
<ide> if (!response.isSucceeded()) {
<del> throw new StorageException... | |
Java | apache-2.0 | b8d44e5c164e50df2b928dddf14d035f0b635ba7 | 0 | apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox,kalaspuffar/pdfbox | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | pdfbox/src/test/java/org/apache/pdfbox/pdfparser/TestPDFParser.java | /*****************************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses th... | PDFBOX-4836: remove some tests as ScratchFile isn't no longer used when reading a file, added some fail statements to complete existing test cases
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1881872 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/test/java/org/apache/pdfbox/pdfparser/TestPDFParser.java | PDFBOX-4836: remove some tests as ScratchFile isn't no longer used when reading a file, added some fail statements to complete existing test cases | <ide><path>dfbox/src/test/java/org/apache/pdfbox/pdfparser/TestPDFParser.java
<del>/*****************************************************************************
<del> *
<del> * Licensed to the Apache Software Foundation (ASF) under one
<del> * or more contributor license agreements. See the NOTICE file
<del> * distr... | |
Java | apache-2.0 | 90ed5549e8e4cc686393a972fea921b9bbe7dbb9 | 0 | mcollovati/camel,gautric/camel,christophd/camel,johnpoth/camel,sabre1041/camel,punkhorn/camel-upstream,objectiser/camel,sabre1041/camel,pkletsko/camel,neoramon/camel,lburgazzoli/camel,gilfernandes/camel,apache/camel,akhettar/camel,anton-k11/camel,jlpedrosa/camel,isavin/camel,isavin/camel,drsquidop/camel,ssharma/camel,a... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Fixed test
| components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java | Fixed test | <ide><path>omponents/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java
<ide> * limitations under the License.
<ide> */
<ide> package org.apache.camel.component.file.remote;
<del>
<del>import java.util.concurrent.TimeUnit;
<ide>
<ide> import org.apache.camel.builde... | |
Java | apache-2.0 | be0ebab31d0c89026381429935979ee0cbd34318 | 0 | mikosik/smooth-build,mikosik/smooth-build | package org.smoothbuild.lang.module;
import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.smoothbuild.lang.base.Types.BLOB;
import static org.smoothbuild.lang.base.Types.BLOB_ARRAY;
import static org.smoothbuild.lang.base.Types.FILE;
import static org.... | src/main/test/org/smoothbuild/lang/module/NativeModuleFactoryTest.java | package org.smoothbuild.lang.module;
import static org.hamcrest.Matchers.contains;
import static org.smoothbuild.lang.base.Types.BLOB;
import static org.smoothbuild.lang.base.Types.BLOB_ARRAY;
import static org.smoothbuild.lang.base.Types.FILE;
import static org.smoothbuild.lang.base.Types.FILE_ARRAY;
import static or... | fixed test in NativeModuleFactoryTest
| src/main/test/org/smoothbuild/lang/module/NativeModuleFactoryTest.java | fixed test in NativeModuleFactoryTest | <ide><path>rc/main/test/org/smoothbuild/lang/module/NativeModuleFactoryTest.java
<ide> package org.smoothbuild.lang.module;
<ide>
<ide> import static org.hamcrest.Matchers.contains;
<add>import static org.hamcrest.Matchers.containsInAnyOrder;
<ide> import static org.smoothbuild.lang.base.Types.BLOB;
<ide> import stati... | |
Java | apache-2.0 | c0de2df65989b4c7fcf574fb359866b439e424d1 | 0 | rouazana/james,chibenwa/james,aduprat/james,aduprat/james,chibenwa/james,rouazana/james,chibenwa/james,aduprat/james,rouazana/james,rouazana/james,chibenwa/james,aduprat/james | /****************************************************************
* Licensed to the Apache Software Foundation (ASF) under one *
* or more contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The ASF licenses this... | trunk/mailets-function/src/test/java/org/apache/james/transport/remotedeliverytester/AbstractRemoteDeliveryTest.java | /****************************************************************
* Licensed to the Apache Software Foundation (ASF) under one *
* or more contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The ASF licenses this... | Add debug to investigate on JAMES-850
git-svn-id: 88158f914d5603334254b4adf21dfd50ec107162@681541 13f79535-47bb-0310-9956-ffa450edef68
| trunk/mailets-function/src/test/java/org/apache/james/transport/remotedeliverytester/AbstractRemoteDeliveryTest.java | Add debug to investigate on JAMES-850 | <ide><path>runk/mailets-function/src/test/java/org/apache/james/transport/remotedeliverytester/AbstractRemoteDeliveryTest.java
<ide> import java.util.Properties;
<ide> import java.util.Random;
<ide>
<add>import junit.framework.AssertionFailedError;
<ide> import junit.framework.TestCase;
<ide>
<ide> public abstract cl... | |
Java | apache-2.0 | 269f73354c9af2d960a8f0f364f85b7d922e3a4d | 0 | uronce-cc/alluxio,WilliamZapata/alluxio,EvilMcJerkface/alluxio,jsimsa/alluxio,aaudiber/alluxio,Alluxio/alluxio,WilliamZapata/alluxio,Alluxio/alluxio,wwjiang007/alluxio,apc999/alluxio,PasaLab/tachyon,yuluo-ding/alluxio,ChangerYoung/alluxio,wwjiang007/alluxio,maobaolong/alluxio,jswudi/alluxio,ShailShah/alluxio,WilliamZap... | /*
* Licensed to the University of California, Berkeley under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may no... | servers/src/main/java/tachyon/worker/block/BlockMasterSync.java | /*
* Licensed to the University of California, Berkeley under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may no... | [TACHYON-784] Reorder variable declarations in tachyon.worker.block.BlockMasterSync
| servers/src/main/java/tachyon/worker/block/BlockMasterSync.java | [TACHYON-784] Reorder variable declarations in tachyon.worker.block.BlockMasterSync | <ide><path>ervers/src/main/java/tachyon/worker/block/BlockMasterSync.java
<ide> */
<ide> public class BlockMasterSync implements Runnable {
<ide> private static final Logger LOG = LoggerFactory.getLogger(Constants.LOGGER_TYPE);
<del>
<add> /** The thread pool to remove block */
<add> private static final int DEFAU... | |
Java | mit | 3eadd4dd640bceb29ddf233ea19d453f472cf0cd | 0 | dafi/photoshelf | package com.ternaryop.photoshelf.birthday;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale... | app/src/com/ternaryop/photoshelf/birthday/BirthdayUtils.java | package com.ternaryop.photoshelf.birthday;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale... | Ignore errors generated from search searchBirthday
| app/src/com/ternaryop/photoshelf/birthday/BirthdayUtils.java | Ignore errors generated from search searchBirthday | <ide><path>pp/src/com/ternaryop/photoshelf/birthday/BirthdayUtils.java
<ide> import org.jsoup.select.Elements;
<ide>
<ide> public class BirthdayUtils {
<del> private static final String BIRTHDAY_NOTIFICATION_TAG = "com.ternaryop.photoshelf.bday";
<add> private static final String BIRTHDAY_NOTIFICATION_TAG = "com.te... | |
Java | apache-2.0 | f03c51d04aac543cd503e2d292b1998f387d3180 | 0 | azkaban/azkaban,HappyRay/azkaban,azkaban/azkaban,HappyRay/azkaban,HappyRay/azkaban,azkaban/azkaban,chengren311/azkaban,chengren311/azkaban,azkaban/azkaban,chengren311/azkaban,HappyRay/azkaban,azkaban/azkaban,HappyRay/azkaban,chengren311/azkaban,HappyRay/azkaban,azkaban/azkaban,chengren311/azkaban | /*
* Copyright 2017 LinkedIn Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | azkaban-exec-server/src/test/java/azkaban/execapp/FlowPreparerTest.java | /*
* Copyright 2017 LinkedIn Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | FlowPreparerTest to use @Rule TemporaryFolder (#1903)
| azkaban-exec-server/src/test/java/azkaban/execapp/FlowPreparerTest.java | FlowPreparerTest to use @Rule TemporaryFolder (#1903) | <ide><path>zkaban-exec-server/src/test/java/azkaban/execapp/FlowPreparerTest.java
<ide> import java.util.HashMap;
<ide> import java.util.List;
<ide> import java.util.Map;
<del>import org.apache.commons.io.FileUtils;
<del>import org.junit.After;
<ide> import org.junit.Before;
<add>import org.junit.Rule;
<ide> import org... | |
Java | apache-2.0 | 62a96d3bd2e76a16666d703f7c4e22a025b024ef | 0 | googleinterns/step188-2020,googleinterns/step188-2020,googleinterns/step188-2020 | package com.google.sps.data;
import java.util.HashSet;
import java.util.Set;
public final class VolunteeringOpportunity {
private String name;
private Set<String> skillsRequired;
private int numSpotsLeft;
private Set<User> volunteers;
public VolunteeringOpportunity(
String name, Set<String> requiredS... | project/src/main/java/com/google/sps/data/VolunteeringOpportunity.java | package com.google.sps.data;
import java.util.Set;
import java.util.HashSet;
public final class VolunteeringOpportunity {
private String name;
private Set<String> skillsRequired;
private int numSpotsLeft;
private Set<User> volunteers;
public VolunteeringOpportunity(
String name, Set<String> requiredS... | Fix style.
| project/src/main/java/com/google/sps/data/VolunteeringOpportunity.java | Fix style. | <ide><path>roject/src/main/java/com/google/sps/data/VolunteeringOpportunity.java
<ide> package com.google.sps.data;
<ide>
<add>import java.util.HashSet;
<ide> import java.util.Set;
<del>import java.util.HashSet;
<ide>
<ide> public final class VolunteeringOpportunity {
<ide> private String name; | |
Java | epl-1.0 | 9a989b5addef7423a8d82ef4a202e99074b447dd | 0 | darionct/kura,rohitdubey12/kura,gavinying/kura,ymai/kura,ctron/kura,MMaiero/kura,ctron/kura,markcullen/kura_Windows,darionct/kura,MMaiero/kura,markoer/kura,ctron/kura,markoer/kura,rohitdubey12/kura,unverbraucht/kura,gavinying/kura,nicolatimeus/kura,markoer/kura,markoer/kura,nicolatimeus/kura,MMaiero/kura,ctron/kura,gav... | /**
* Copyright (c) 2011, 2015 Eurotech and/or its affiliates
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
... | kura/org.eclipse.kura.core.cloud/src/main/java/org/eclipse/kura/core/cloud/CloudServiceImpl.java | /**
* Copyright (c) 2011, 2014 Eurotech and/or its affiliates
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
... | Removed response if message signature verification fails
Signed-off-by: MMaiero <2b73509565f5b07fd88cb0c94e2832558b2a0b6e@eurotech.com>
| kura/org.eclipse.kura.core.cloud/src/main/java/org/eclipse/kura/core/cloud/CloudServiceImpl.java | Removed response if message signature verification fails | <ide><path>ura/org.eclipse.kura.core.cloud/src/main/java/org/eclipse/kura/core/cloud/CloudServiceImpl.java
<ide> /**
<del> * Copyright (c) 2011, 2014 Eurotech and/or its affiliates
<add> * Copyright (c) 2011, 2015 Eurotech and/or its affiliates
<ide> *
<ide> * All rights reserved. This program and the accompanying m... | |
Java | mpl-2.0 | 32bc6a76a9c84fd3fddb76f2de5b65244a79ad3f | 0 | sensiasoft/lib-ows | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MP... | src/org/vast/ows/SweResponseSerializer.java | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MP... | Changed setting of this.dom to just dom, to allow root or derived classes to have the dom changed.
git-svn-id: a58f1e388be0b035aaf3ce3f4edf164054050d24@218 65eab6d0-0751-0410-986a-37c5601cf520
| src/org/vast/ows/SweResponseSerializer.java | Changed setting of this.dom to just dom, to allow root or derived classes to have the dom changed. | <ide><path>rc/org/vast/ows/SweResponseSerializer.java
<ide>
<ide> /**
<ide> * <p><b>Title:</b><br/>
<del> * Swe Response Serializer
<add> * SweResponseSerializer
<ide> * </p>
<ide> *
<ide> * <p><b>Description:</b><br/>
<ide> {
<ide> // preload base observation document
<ide> DOMHelper newDom = new... | |
Java | apache-2.0 | d0e26129b5be50d8950b0618f245e4529144b336 | 0 | cunningt/camel,adessaigne/camel,pax95/camel,tdiesler/camel,tadayosi/camel,pax95/camel,tadayosi/camel,adessaigne/camel,apache/camel,apache/camel,tdiesler/camel,cunningt/camel,tadayosi/camel,adessaigne/camel,tadayosi/camel,christophd/camel,cunningt/camel,adessaigne/camel,apache/camel,pax95/camel,tadayosi/camel,tdiesler/c... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | components/camel-aws/camel-aws2-mq/src/main/java/org/apache/camel/component/aws2/mq/MQ2Configuration.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | CAMEL-16465 - Camel-AWS: Add useDefaultCredentialProvider option to all the components - MQ Component
| components/camel-aws/camel-aws2-mq/src/main/java/org/apache/camel/component/aws2/mq/MQ2Configuration.java | CAMEL-16465 - Camel-AWS: Add useDefaultCredentialProvider option to all the components - MQ Component | <ide><path>omponents/camel-aws/camel-aws2-mq/src/main/java/org/apache/camel/component/aws2/mq/MQ2Configuration.java
<ide> private boolean overrideEndpoint;
<ide> @UriParam
<ide> private String uriEndpointOverride;
<add> @UriParam(defaultValue = "false")
<add> private boolean useDefaultCredentialsProvi... | |
JavaScript | agpl-3.0 | f26f31745ab55ad4e8f99fc3768abffd612073c6 | 0 | OPEN-ENT-NG/vie-scolaire,OPEN-ENT-NG/vie-scolaire,OPEN-ENT-NG/vie-scolaire,OPEN-ENT-NG/vie-scolaire,OPEN-ENT-NG/vie-scolaire,OPEN-ENT-NG/vie-scolaire | var gsPrefixVieScolaire = 'viescolaire';
var gsPrefixNotes = 'notes';
var gsPrefixAbsences = 'absences';
var gsFormatDate = 'DD-MM-YYYY';
/**
Defining internal routes
**/
routes.define(function($routeProvider){
$routeProvider
.when('/' + gsPrefixVieScolaire + '/' + gsPrefixAbsences + '/appel',{action:'appel'})
... | src/main/resources/public/modules/absences/js/controller/absc_enseignant_ctrl.js | var gsPrefixVieScolaire = 'viescolaire';
var gsPrefixNotes = 'notes';
var gsPrefixAbsences = 'absences';
var gsFormatDate = 'DD-MM-YYYY';
/**
Defining internal routes
**/
routes.define(function($routeProvider){
$routeProvider
.when('/' + gsPrefixVieScolaire + '/' + gsPrefixAbsences + '/appel',{action:'appel'})
... | Absences enseignant
| src/main/resources/public/modules/absences/js/controller/absc_enseignant_ctrl.js | Absences enseignant | <ide><path>rc/main/resources/public/modules/absences/js/controller/absc_enseignant_ctrl.js
<ide> */
<ide> $scope.selectAppel = function () {
<ide> $scope.ouvrirAppel($scope.appel.date);
<del> }
<add> };
<ide>
<ide> /**
<ide> * Sélection d'un cours : Affiche le panel central de la liste des élèves
<ide> even... | |
JavaScript | mit | ca55c75f6986a9263ed625d4dc9704ba77600e44 | 0 | jayroh/thredded,jayroh/thredded,thredded/thredded,jayroh/thredded,thredded/thredded,jayroh/thredded,thredded/thredded,thredded/thredded | (() => {
const COMPONENT_SELECTOR = '#thredded--container [data-time-ago]';
const Thredded = window.Thredded;
if ('timeago' in window) {
const timeago = window.timeago;
Thredded.onPageLoad(() => {
const threddedContainer = document.querySelector('#thredded--container');
if (!threddedContainer)... | app/assets/javascripts/thredded/components/time_stamps.es6 | (() => {
const COMPONENT_SELECTOR = '#thredded--container [data-time-ago]';
const Thredded = window.Thredded;
if ('timeago' in window) {
const timeago = window.timeago;
Thredded.onPageLoad(() => {
const threddedContainer = document.querySelector('#thredded--container');
if (!threddedContainer)... | Fix time_stamps.es6 for locale names with a '-'
Fixes #626 | app/assets/javascripts/thredded/components/time_stamps.es6 | Fix time_stamps.es6 for locale names with a '-' | <ide><path>pp/assets/javascripts/thredded/components/time_stamps.es6
<ide> if (!threddedContainer) return;
<ide> timeago().render(
<ide> document.querySelectorAll(COMPONENT_SELECTOR),
<del> threddedContainer.getAttribute('data-thredded-locale'));
<add> threddedContainer.getAttribute('d... | |
JavaScript | lgpl-2.1 | 117241bd5c68288a8eed56e3d94c2a6fc57b6858 | 0 | patczar/exist,jessealama/exist,lcahlander/exist,eXist-db/exist,ljo/exist,hungerburg/exist,lcahlander/exist,wshager/exist,eXist-db/exist,lcahlander/exist,shabanovd/exist,MjAbuz/exist,kohsah/exist,adamretter/exist,opax/exist,joewiz/exist,kohsah/exist,RemiKoutcherawy/exist,jessealama/exist,windauer/exist,jensopetersen/exi... | window.onload = init;
window.onresize = resize;
window.activeTab = null;
var PROGRESS_DIALOG =
'<div id="progress-inner">' +
' <h1 id="progress-message">Starting ...</h1>' +
' <table cellspacing="20">' +
' <tr>' +
' <td id="progress-passed">0</td>' +
' <td>/</td>' +
' <td id="progress-failed">0</td... | webapp/xqts/scripts/report.js | window.onload = init;
window.onresize = resize;
window.activeTab = null;
var PROGRESS_DIALOG =
'<div id="progress-inner">' +
' <h1 id="progress-message">Starting ...</h1>' +
' <table cellspacing="20">' +
' <tr>' +
' <td id="progress-passed">0</td>' +
' <td>/</td>' +
' <td id="progress-failed">0</td... | [bugfix] XQTS: had to replace all POST requests with GET in report.js, otherwise the XQTS could not be executed. Maybe we should update the javascript library used? The XQTS test runner is still based on some old prototype version.
svn path=/trunk/eXist/; revision=8766
| webapp/xqts/scripts/report.js | [bugfix] XQTS: had to replace all POST requests with GET in report.js, otherwise the XQTS could not be executed. Maybe we should update the javascript library used? The XQTS test runner is still based on some old prototype version. | <ide><path>ebapp/xqts/scripts/report.js
<ide> },
<ide> failure: requestFailed
<ide> }
<del> YAHOO.util.Connect.asyncRequest('POST', 'report.xql', callback, params);
<add> YAHOO.util.Connect.asyncRequest('GET', 'report.xql?'+ params, callback);
<ide> }
<ide>
<ide> function details(testName) {
<ide> success: deta... | |
JavaScript | mpl-2.0 | cc9c04dcd2ef26bf3ef9524c05f9f3813257c900 | 0 | jondos/jondofox,jondos/jondofox | var prefs = require("../preferences.js");
exports["testing on_pref_change"] = function(assert, done){
prefs.SPref.init();
if(prefs.SPref.check_installation() != 0){
assert.equal(true, false, "[!] ShadowPref check_installation() failed - something is really wrong...");
done();
}
prefs.SPref... | test/test-preferences.js | var prefs = require("../preferences.js");
exports["testing on_pref_change"] = function(assert, done){
prefs.SPref.init();
if(prefs.SPref.check_installation() != 0){
assert.equal(true, false, "[!] ShadowPref check_installation() failed - something is really wrong...");
done();
}
prefs.SPref... | #1263 unit test update finished
| test/test-preferences.js | #1263 unit test update finished | <ide><path>est/test-preferences.js
<ide>
<ide> }
<ide>
<add> prefs.SPref.disable("", true, 0, false);
<add>
<add> for(var i = 0; i < prefs.SPref.important_prefs.length; i++){
<add>
<add> if(prefs.SPref.getSPValue(prefs.SPref.important_prefs[i][0], 2) == true && prefs.SPref.getSPValue(prefs.SPref.import... | |
JavaScript | mit | 732104d763a6bdeb49506032913d7a857bd2c6e2 | 0 | arkis/arkis.io,arkis/arkis.io | const jump1 = require('../../../node_modules/jump.js/dist/jump');
function jump(a, b) {
window.mobileMenu.close();
return jump1(a, b);
}
let topBar;
window.jumpToTop = () => jump(
-window.scrollY,
{ duration: Math.abs },
);
window.jumpToTeam = () => jump(
'.team-section',
{ duration: Math.abs, offset: -... | app/src/home/nav-links.js | const jump = require('../../../node_modules/jump.js/dist/jump');
let topBar;
window.jumpToTop = () => jump(
-window.scrollY,
{ duration: Math.abs },
);
window.jumpToTeam = () => jump(
'.team-section',
{ duration: Math.abs, offset: -topBar.offsetHeight },
);
window.jumpToContact = () => jump(
'#map',
{ d... | Automatically close mobile menu when links clicked
| app/src/home/nav-links.js | Automatically close mobile menu when links clicked | <ide><path>pp/src/home/nav-links.js
<del>const jump = require('../../../node_modules/jump.js/dist/jump');
<add>const jump1 = require('../../../node_modules/jump.js/dist/jump');
<add>
<add>function jump(a, b) {
<add> window.mobileMenu.close();
<add> return jump1(a, b);
<add>}
<ide>
<ide> let topBar;
<ide> | |
Java | apache-2.0 | 697a83d7f45538b4eecaa590e12f7245561f9485 | 0 | systemincloud/sic-examples-ext-vip,systemincloud/sic-examples-ext-vip,systemincloud/sic-examples-ext-vip | package com.systemincloud.ext.vip.examples.webcamclient.java;
import javax.swing.JFrame;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.JLabel;
import javax.swing.JComboBox;... | com.systemincloud.ext.vip.examples.webcamclient.java/src/main/java/com/systemincloud/ext/vip/examples/webcamclient/java/NewMachineFrame.java | package com.systemincloud.ext.vip.examples.webcamclient.java;
import javax.swing.JFrame;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.JLabel;
import javax.swing.JComboBox;... | Fill regions in new machine window | com.systemincloud.ext.vip.examples.webcamclient.java/src/main/java/com/systemincloud/ext/vip/examples/webcamclient/java/NewMachineFrame.java | Fill regions in new machine window | <ide><path>om.systemincloud.ext.vip.examples.webcamclient.java/src/main/java/com/systemincloud/ext/vip/examples/webcamclient/java/NewMachineFrame.java
<ide>
<ide> public NewMachineFrame() {
<ide> setAlwaysOnTop(true);
<del> setSize(500, 100);
<add> setSize(700, 100);
<ide>
<ide> ... | |
Java | apache-2.0 | 25e3e2c834a385bf4a1826398d3c77ae7ecd32b8 | 0 | millecker/applications,millecker/applications,millecker/applications,millecker/applications,millecker/applications | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | hadoop/rootbeer/matrixmultiplication/src/at/illecker/hadoop/rootbeer/examples/matrixmultiplication/gpu/MatrixMultiplicationMapperKernel.java | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Update Hadoop MatrixMultiplicationMapperKernel | hadoop/rootbeer/matrixmultiplication/src/at/illecker/hadoop/rootbeer/examples/matrixmultiplication/gpu/MatrixMultiplicationMapperKernel.java | Update Hadoop MatrixMultiplicationMapperKernel | <ide><path>adoop/rootbeer/matrixmultiplication/src/at/illecker/hadoop/rootbeer/examples/matrixmultiplication/gpu/MatrixMultiplicationMapperKernel.java
<ide>
<ide> public class MatrixMultiplicationMapperKernel implements Kernel {
<ide>
<del> // input
<del> private double[] vector;
<del> private double multiplier;
<... | |
Java | apache-2.0 | error: pathspec 'core/src/test/java/org/wso2/carbon/transports/transporter/CustomCarbonTransport.java' did not match any file(s) known to git
| f00b6bc0c43ab5b567f6c9f38ed1afccb49fa20a | 1 | Niranjan-K/carbon-kernel,Niranjan-K/carbon-kernel,ChanakaCooray/carbon-kernel,daneshk/carbon-kernel,ChanakaCooray/carbon-kernel,nuwandi-kernel/carbon-kernel,daneshk/carbon-kernel,cnapagoda/carbon4-kernel,laki88/carbon-kernel,nuwandi-kernel/carbon-kernel,thusithathilina/carbon-kernel,wso2/carbon-kernel,jsdjayanga/carbon... | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | core/src/test/java/org/wso2/carbon/transports/transporter/CustomCarbonTransport.java | CARBON-15553: Wrote unit test for classes in org.wso2.carbon.core.transports
| core/src/test/java/org/wso2/carbon/transports/transporter/CustomCarbonTransport.java | CARBON-15553: Wrote unit test for classes in org.wso2.carbon.core.transports | <ide><path>ore/src/test/java/org/wso2/carbon/transports/transporter/CustomCarbonTransport.java
<add>/*
<add> * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in complianc... | |
Java | apache-2.0 | error: pathspec 'src/test/java/org/skyscreamer/nevado/jms/metadata/JMSDeliveryModeTest.java' did not match any file(s) known to git
| 47d9540ef100723248b56096253395b0d14d928f | 1 | glaucio-melo-movile/nevado,keithsjohnson/nevado,Movile/nevado,Movile/nevado,glaucio-melo-movile/nevado,bitsofinfo/nevado,skyscreamer/nevado,keithsjohnson/nevado | package org.skyscreamer.nevado.jms.metadata;
import org.junit.Assert;
import org.junit.Test;
import org.skyscreamer.nevado.jms.AbstractJMSTest;
import javax.jms.DeliveryMode;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageProducer;
/**
* Created by IntelliJ IDEA.
* User: Carter Pa... | src/test/java/org/skyscreamer/nevado/jms/metadata/JMSDeliveryModeTest.java | Added JMSDestination
| src/test/java/org/skyscreamer/nevado/jms/metadata/JMSDeliveryModeTest.java | Added JMSDestination | <ide><path>rc/test/java/org/skyscreamer/nevado/jms/metadata/JMSDeliveryModeTest.java
<add>package org.skyscreamer.nevado.jms.metadata;
<add>
<add>import org.junit.Assert;
<add>import org.junit.Test;
<add>import org.skyscreamer.nevado.jms.AbstractJMSTest;
<add>
<add>import javax.jms.DeliveryMode;
<add>import javax.jms.J... | |
Java | bsd-3-clause | 21cc79e1684e31aa7c0753640de4a6fdf9b2d9e7 | 0 | Civcraft/CivMenu,Maxopoly/CivMenu,BlackXnt/CivMenu | package vg.civcraft.mc.civmenu.datamanager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Level;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import vg.civcraft.... | src/vg/civcraft/mc/civmenu/datamanager/MysqlManager.java | package vg.civcraft.mc.civmenu.datamanager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Level;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import vg.civcraft.... | Fix anotehr minor msitake
| src/vg/civcraft/mc/civmenu/datamanager/MysqlManager.java | Fix anotehr minor msitake | <ide><path>rc/vg/civcraft/mc/civmenu/datamanager/MysqlManager.java
<ide> String username = config.get("mysql.username").getString();
<ide> String password = config.get("mysql.password").getString();
<ide> String host = config.get("mysql.host").getString();
<del> String dbname = config.get("mysql.dbname").getName... | |
Java | apache-2.0 | 1c3231868a247dc581028cfd56f8736755bf244b | 0 | nknize/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,nknize/elasticsearch,robin13/elasticsearch,robin13/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,robin13/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,GlenR... | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.history;
import org.elasticsearch.act... | x-pack/plugin/watcher/src/internalClusterTest/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.history;
import org.elasticsearch.act... | [TEST] Mute HistoryTemplateIndexActionMappingsTests.testIndexActionFields (#65092)
Relates #65091 | x-pack/plugin/watcher/src/internalClusterTest/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java | [TEST] Mute HistoryTemplateIndexActionMappingsTests.testIndexActionFields (#65092) | <ide><path>-pack/plugin/watcher/src/internalClusterTest/java/org/elasticsearch/xpack/watcher/history/HistoryTemplateIndexActionMappingsTests.java
<ide> */
<ide> public class HistoryTemplateIndexActionMappingsTests extends AbstractWatcherIntegrationTestCase {
<ide>
<add> @AwaitsFix(bugUrl = "https://github.com/elas... | |
Java | apache-2.0 | 1252f6ee32b9c41f043169f36ee7fce2b6fa9e20 | 0 | tteofili/samplett,tteofili/samplett,tteofili/samplett | package com.github.tteofili.looseen;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Ve... | looseen/src/test/java/com/github/tteofili/looseen/Test20NewsgroupsClassification.java | package com.github.tteofili.looseen;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Ve... | adjusting data splitter usage
| looseen/src/test/java/com/github/tteofili/looseen/Test20NewsgroupsClassification.java | adjusting data splitter usage | <ide><path>ooseen/src/test/java/com/github/tteofili/looseen/Test20NewsgroupsClassification.java
<ide> long startSplit = System.currentTimeMillis();
<ide> DatasetSplitter datasetSplitter = new DatasetSplitter(0.1, 0);
<ide> LeafReader originalIndex = SlowCompositeReaderWra... | |
JavaScript | mit | 7ebb7e38a81855a50ccb22bbb9a3ee344e313fc5 | 0 | assetize/madagascar | #!/usr/bin/env node
var web3 = require("web3"),
fs = require("fs");
var cFile = process.argv[2];
if(!cFile){
usage();
process.exit();
}
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'));
var cCode = fs.readFileSync(cFile).toString(),
compiled = web3.eth.compile.solidity(cCode... | script/deploy-contract.js | #!/usr/bin/env node
var web3 = require("web3"),
fs = require("fs");
var cFile = process.argv[2];
if(!cFile){
usage();
process.exit();
}
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'));
var cCode = fs.readFileSync(cFile).toString(),
compiled = web3.eth.compile.solidity(cCode... | dynamically getting gasPrice
| script/deploy-contract.js | dynamically getting gasPrice | <ide><path>cript/deploy-contract.js
<ide>
<ide> console.log("ABI:",JSON.stringify(compiled.info.abiDefinition, null, 2));
<ide>
<del>var block = web3.eth.blockNumber;
<del>
<add>//TODO: calculate total cost and ask to confirm
<ide>
<ide> web3.eth.sendTransaction({
<ide> from: web3.eth.coinbase,
<ide> data: compi... | |
JavaScript | agpl-3.0 | 5e36026347fa6b57b1bc8082ee74b675bdc535d0 | 0 | inaes-tic/mbc-mosto | var config = require("mbc-common").config.Mosto.Mongo,
Playlist = require('../../api/Playlist'),
Media = require('../../api/Media'),
mubsub = require("mubsub"),
moment = require("moment"),
mbc = require('mbc-common'),
async = require('async'),
events = require ('events'),
... | drivers/playlists/mongo-driver.js | var config = require("mbc-common").config.Mosto.Mongo,
Playlist = require('../../api/Playlist'),
Media = require('../../api/Media'),
mubsub = require("mubsub"),
moment = require("moment"),
mbc = require('mbc-common'),
async = require('async'),
events = require ('events'),
... | allow for "method" to be either an event name or a function
Signed-off-by: Tomas Neme <6bc1d25c0f0098e02c3c0ae175e2ae803c7b6bbc@gmail.com>
| drivers/playlists/mongo-driver.js | allow for "method" to be either an event name or a function | <ide><path>rivers/playlists/mongo-driver.js
<ide> });
<ide> };
<ide>
<del> mongo_driver.prototype.createPlaylist = function(sched, callback, method) {
<add> mongo_driver.prototype.createPlaylist = function(sched, method) {
<add> // method can be either an event name to emit, or a callback.
<ad... | |
JavaScript | mit | ad508af670f2bafdf33007c51a73ca760a6f85d0 | 0 | 2Rainbow/Dollchan-Extension-Tools,miku-nyan/Dollchan-Extension-Tools,SthephanShinkufag/Dollchan-Extension-Tools,lisanyan/Dollchan-Extension-Tools,SthephanShinkufag/Dollchan-Extension-Tools,wakaber/Dollchan-Extension-Tools,aslian/Dollchan-Extension-Tools,Y0ba/Dollchan-Extension-Tools,Y0ba/Dollchan-Extension-Tools | // ==UserScript==
// @name Dollchan Extension Tools
// @version 14.7.25.0
// @namespace http://www.freedollchan.org/scripts/*
// @author Sthephan Shinkufag @ FreeDollChan
// @copyright (C)2084, Bender Bending Rodriguez
// @description Doing some profit for imageboards
// @icon https://raw.github.com/Sthephan... | Dollchan_Extension_Tools.user.js | // ==UserScript==
// @name Dollchan Extension Tools
// @version 14.7.25.0
// @namespace http://www.freedollchan.org/scripts/*
// @author Sthephan Shinkufag @ FreeDollChan
// @copyright (C)2084, Bender Bending Rodriguez
// @description Doing some profit for imageboards
// @icon https://raw.github.com/Sthephan... | Better new posts indicator in favorites
| Dollchan_Extension_Tools.user.js | Better new posts indicator in favorites | <ide><path>ollchan_Extension_Tools.user.js
<ide>
<ide> function readFavoritesPosts() {
<ide> getStoredObj('DESU_Favorites', function(fav) {
<del> var thr, temp, update = false;
<add> var thr, temp, num, update = false;
<ide> if(nav.isChromeStorage && (temp = locStorage.getItem('DESU_Favorites'))) {
<ide> temp ... | |
Java | apache-2.0 | b829e4e48b54e3de6b55be60307759696390a9f1 | 0 | ceylon/ceylon-module-resolver,alesj/ceylon-module-resolver,jvasileff/ceylon-module-resolver,ceylon/ceylon-module-resolver,jvasileff/ceylon-module-resolver,alesj/ceylon-module-resolver | /*
* Copyright 2011 Red Hat inc. and third party contributors as noted
* by the author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | api/src/main/java/com/redhat/ceylon/cmr/api/ArtifactContext.java | /*
* Copyright 2011 Red Hat inc. and third party contributors as noted
* by the author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | ArtifactContext: added SHA1 postfix constant
| api/src/main/java/com/redhat/ceylon/cmr/api/ArtifactContext.java | ArtifactContext: added SHA1 postfix constant | <ide><path>pi/src/main/java/com/redhat/ceylon/cmr/api/ArtifactContext.java
<ide> public static final String JAR = ".jar";
<ide> public static final String ZIP = ".zip";
<ide> public static final String SRC = ".src";
<add> public static final String SHA1 = ".sha1";
<ide>
<ide> private String name;
<i... | |
Java | apache-2.0 | 7c4a0dea94bed2d3f0ab29e14731fef644332d76 | 0 | hurricup/intellij-community,vladmm/intellij-community,blademainer/intellij-community,salguarnieri/intellij-community,kdwink/intellij-community,tmpgit/intellij-community,supersven/intellij-community,FHannes/intellij-community,ivan-fedorov/intellij-community,samthor/intellij-community,salguarnieri/intellij-community,joew... | package com.intellij.ide.startup.impl;
import com.intellij.ide.startup.StartupManagerEx;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProcessCanceledException;
import ... | platform-impl/src/com/intellij/ide/startup/impl/StartupManagerImpl.java | package com.intellij.ide.startup.impl;
import com.intellij.ide.startup.StartupManagerEx;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProcessCanceledException;
import ... | startupManager can also be invoked already in dumb mode
| platform-impl/src/com/intellij/ide/startup/impl/StartupManagerImpl.java | startupManager can also be invoked already in dumb mode | <ide><path>latform-impl/src/com/intellij/ide/startup/impl/StartupManagerImpl.java
<ide> public synchronized void runPostStartupActivities() {
<ide> final Application app = ApplicationManager.getApplication();
<ide> app.assertIsDispatchThread();
<del> if (myBackgroundIndexing) {
<add> if (myBackgroundInd... | |
Java | agpl-3.0 | dec46880d9424f87099c6a741108616d4f192deb | 0 | medsob/Tanaguru,Asqatasun/Asqatasun,Asqatasun/Asqatasun,dzc34/Asqatasun,dzc34/Asqatasun,Asqatasun/Asqatasun,medsob/Tanaguru,Tanaguru/Tanaguru,Tanaguru/Tanaguru,medsob/Tanaguru,dzc34/Asqatasun,medsob/Tanaguru,dzc34/Asqatasun,Asqatasun/Asqatasun,Asqatasun/Asqatasun,Tanaguru/Tanaguru,Tanaguru/Tanaguru,dzc34/Asqatasun | package org.opens.tanaguru.contentadapter.util;
public abstract class HtmlNodeAttr {
public final static String CLASS = "class";
public final static String HREF = "href";
public final static String ID = "id";
public final static String LINK = "link";
public final static String REL = "rel";
public final... | contentadapter/src/main/java/org/opens/tanaguru/contentadapter/util/HtmlNodeAttr.java | package org.opens.tanaguru.contentadapter.util;
public abstract class HtmlNodeAttr {
public final static String CLASS = "class";
public final static String HREF = "href";
public final static String ID = "id";
public final static String LINK = "link";
public final static String REL = "rel";
public final... | 10041 Rule from AccessiWeb2 implementation
| contentadapter/src/main/java/org/opens/tanaguru/contentadapter/util/HtmlNodeAttr.java | 10041 Rule from AccessiWeb2 implementation | <ide><path>ontentadapter/src/main/java/org/opens/tanaguru/contentadapter/util/HtmlNodeAttr.java
<ide> public final static String REL = "rel";
<ide> public final static String SRC = "src";
<ide> public final static String STYLE = "style";
<add> public final static String MEDIA = "media";
<ide> } | |
JavaScript | apache-2.0 | 452143a5d7d3171e0c978f657512fe5f673d895b | 0 | apparentlymart/shindig,apache/shindig,apparentlymart/shindig,apparentlymart/shindig,apache/shindig,apache/shindig,apparentlymart/shindig,apache/shindig,apache/shindig | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | features/core.io/io.js | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Remove misleading comments from io.js (fixes SHINDIG-377)
git-svn-id: 3f2e04d30bd9db331bbfc569b45e7de8c0d84ef0@667892 13f79535-47bb-0310-9956-ffa450edef68
| features/core.io/io.js | Remove misleading comments from io.js (fixes SHINDIG-377) | <ide><path>eatures/core.io/io.js
<ide> return;
<ide> }
<ide> var txt = xobj.responseText;
<del> // remove unparseable cruft.
<del> // TODO: really remove this by eliminating it. It's not any real security
<del> // to begin with, and we can solve this problem by using post requests
<del> // ... | |
Java | mit | ecb5a2d23b0762d64aa896b53b00ae33eb5c968b | 0 | ppodgorsek/cache-invalidation,ppodgorsek/juncacher | package com.github.ppodgorsek.cache.invalidation.model.impl;
import org.springframework.util.Assert;
import com.github.ppodgorsek.cache.invalidation.model.InvalidationEntry;
import com.github.ppodgorsek.cache.invalidation.model.InvalidationEntryType;
/**
* Invalidation entry that has an identifier.
*
* @since 1.0... | cache-invalidation-core/src/main/java/com/github/ppodgorsek/cache/invalidation/model/impl/IdentifiedInvalidationEntry.java | package com.github.ppodgorsek.cache.invalidation.model.impl;
import org.springframework.util.Assert;
import com.github.ppodgorsek.cache.invalidation.model.InvalidationEntry;
import com.github.ppodgorsek.cache.invalidation.model.InvalidationEntryType;
/**
* Invalidation entry that has an identifier.
*
* @since 1.0... | Fixed a minor mistake in a toString() method.
| cache-invalidation-core/src/main/java/com/github/ppodgorsek/cache/invalidation/model/impl/IdentifiedInvalidationEntry.java | Fixed a minor mistake in a toString() method. | <ide><path>ache-invalidation-core/src/main/java/com/github/ppodgorsek/cache/invalidation/model/impl/IdentifiedInvalidationEntry.java
<ide> final StringBuilder sbld = new StringBuilder(getClass().getSimpleName());
<ide> sbld.append("[type=").append(type);
<ide> sbld.append(",id=").append(id);
<add> sbld.append("]... | |
Java | mit | 55b8ee7fb178b445b361f21b6c7d7284e17f84b3 | 0 | jenkinsci/proxmox-plugin,jenkinsci/proxmox-plugin | package org.jenkinsci.plugins.proxmox;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import org.jvnet.localizer.Localizable;
import org.jvnet.localizer.ResourceBundleHolder;
import hudson.Messages;
import hudson.model.Executor;
import hudson.model.Nod... | src/main/java/org/jenkinsci/plugins/proxmox/VirtualMachineSlaveComputer.java | package org.jenkinsci.plugins.proxmox;
import java.io.IOException;
import java.util.concurrent.Future;
import org.jvnet.localizer.Localizable;
import org.jvnet.localizer.ResourceBundleHolder;
import hudson.Messages;
import hudson.model.Executor;
import hudson.model.Node;
import hudson.model.Queue;
import hudson.mode... | Waiting for agent disconnect before revert (#7) | src/main/java/org/jenkinsci/plugins/proxmox/VirtualMachineSlaveComputer.java | Waiting for agent disconnect before revert (#7) | <ide><path>rc/main/java/org/jenkinsci/plugins/proxmox/VirtualMachineSlaveComputer.java
<ide> package org.jenkinsci.plugins.proxmox;
<ide>
<ide> import java.io.IOException;
<add>import java.util.concurrent.ExecutionException;
<ide> import java.util.concurrent.Future;
<ide>
<ide> import org.jvnet.localizer.Localizable;... | |
Java | apache-2.0 | 9ca9b3a8d1219b1c4b805ca3ff121be9bcf42c30 | 0 | happlebao/pysonar2,happlebao/pysonar2,happlebao/pysonar2,lambdalab/pysonar2,lambdalab/pysonar2,lambdalab/pysonar2 | package org.yinwang.pysonar.types;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.yinwang.pysonar.Analyzer;
import org.yinwang.pysonar.State;
import org.yinwang.pysonar.TypeStack;
import org.yinwang.pysonar.ast.FunctionDef;
import org.yinwang.pysonar.hash.MyHashMap;
im... | src/main/java/org/yinwang/pysonar/types/FunType.java | package org.yinwang.pysonar.types;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.yinwang.pysonar.Analyzer;
import org.yinwang.pysonar.State;
import org.yinwang.pysonar.TypeStack;
import org.yinwang.pysonar.ast.FunctionDef;
import org.yinwang.pysonar.hash.MyHashMap;
im... | use unicode ∩ for intersection types
| src/main/java/org/yinwang/pysonar/types/FunType.java | use unicode ∩ for intersection types | <ide><path>rc/main/java/org/yinwang/pysonar/types/FunType.java
<ide> if (Analyzer.self.multilineFunType) {
<ide> sb.append("\n| ");
<ide> } else {
<del> sb.append(" | ");
<add> sb.append(" ∩... | |
Java | apache-2.0 | b372328369f4dac82efa905c17cb5c00fd3e00ad | 0 | apache/uima-sandbox,apache/uima-sandbox,apache/uima-sandbox | /**
*
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "Lic... | uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/ErrorResultBaseImpl.java | /**
*
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "Lic... | UIMA-1459 Fixed how TDImpl is instantiated after making the class static
git-svn-id: dd361d0afbe84f3eb97f7061549e905c2c5df34b@800903 13f79535-47bb-0310-9956-ffa450edef68
| uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/ErrorResultBaseImpl.java | UIMA-1459 Fixed how TDImpl is instantiated after making the class static | <ide><path>ima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/error/ErrorResultBaseImpl.java
<ide> wasDisabled = disabled;
<ide> if ( wasTerminated || wasDisabled )
<ide> {
<del> TD td = ((ErrorResultTDsImpl)resultTDs).new TDImpl(aComponentKeyPath, wasTerminated, wasDisabled );
<add> TD td = new TDImpl(aC... | |
JavaScript | mit | a98608b624004e888d58cfa0407c17b2f7c36a31 | 0 | modmore/Scheduler,modmore/Scheduler | // ---------------------------
// Create window
Scheduler.window.CreateRun = function(config) {
config = config || {};
this.ident = config.ident || Ext.id();
Ext.applyIf(config,{
title: _('scheduler.run_create')
,cls: 'window-with-grid'
,url: Scheduler.config.connectorUrl
,baseParams: { a... | assets/components/scheduler/js/mgr/widgets/windows.future.js | // ---------------------------
// Create window
Scheduler.window.CreateRun = function(config) {
config = config || {};
this.ident = config.ident || Ext.id();
Ext.applyIf(config,{
title: _('scheduler.run_create')
,cls: 'window-with-grid'
,url: Scheduler.config.connectorUrl
,baseParams: { a... | Fixed values for compositefield..
| assets/components/scheduler/js/mgr/widgets/windows.future.js | Fixed values for compositefield.. | <ide><path>ssets/components/scheduler/js/mgr/widgets/windows.future.js
<ide> ,allowBlank: false
<ide> ,allowDecimals: false
<ide> ,allowNegative: false
<del> ,value: ((config.record.timesetup) ? config.record.timesetup.number... | |
Java | apache-2.0 | a535b634519fbe72739f7c0879e95bcb4e8d119a | 0 | helun/Ektorp,Arcticwolf/Ektorp,YannRobert/Ektorp,Arcticwolf/Ektorp,helun/Ektorp,YannRobert/Ektorp,maoueh/Ektorp,maoueh/Ektorp | package org.ektorp.http;
import java.io.InputStream;
import org.apache.http.HttpEntity;
import org.ektorp.util.Exceptions;
/**
*
* @author Henrik Lundgren
*
*/
public class RestTemplate {
private final HttpClient client;
public RestTemplate(HttpClient client) {
this.client = client;
}
public <T> T get(... | org.ektorp/src/main/java/org/ektorp/http/RestTemplate.java | package org.ektorp.http;
import java.io.InputStream;
import org.apache.http.HttpEntity;
import org.ektorp.util.Exceptions;
/**
*
* @author Henrik Lundgren
*
*/
public class RestTemplate {
private final HttpClient client;
public RestTemplate(HttpClient client) {
this.client = client;
}
public <T> T get(... | Added missing RestTemplate.put(String path, ResponseCallback<T> callback).
| org.ektorp/src/main/java/org/ektorp/http/RestTemplate.java | Added missing RestTemplate.put(String path, ResponseCallback<T> callback). | <ide><path>rg.ektorp/src/main/java/org/ektorp/http/RestTemplate.java
<ide>
<ide> public void put(String path) {
<ide> handleVoidResponse(client.put(path));
<add> }
<add>
<add> public <T> T put(String path, ResponseCallback<T> callback) {
<add> return handleResponse(callback, client.put(path));
<ide> }
<ide>
<ide... | |
Java | mit | 1cda7363978544a3988b29fcab7009b89adc4f81 | 0 | GlowstoneMC/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus | package net.glowstone.constants;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.bukkit.Statistic.ANIMALS_BRED;
import static org.bukkit.Statistic.ARMOR_CLEANED;
import static org.bukkit.Statistic.AVIATE_ONE_CM;
import static org.bukkit.Statistic.BANNER_CLEANED;
import static org.buk... | src/main/java/net/glowstone/constants/GlowStatistic.java | package net.glowstone.constants;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.bukkit.Statistic.ANIMALS_BRED;
import static org.bukkit.Statistic.ARMOR_CLEANED;
import static org.bukkit.Statistic.AVIATE_ONE_CM;
import static org.bukkit.Statistic.BANNER_CLEANED;
import static org.buk... | Statistic IDs are `@NonNls`
| src/main/java/net/glowstone/constants/GlowStatistic.java | Statistic IDs are `@NonNls` | <ide><path>rc/main/java/net/glowstone/constants/GlowStatistic.java
<ide> import static org.bukkit.Statistic.values;
<ide>
<ide> import org.bukkit.Statistic;
<add>import org.jetbrains.annotations.NonNls;
<ide>
<ide> /**
<ide> * Name mappings for statistics.
<ide> return names[stat.ordinal()];
<ide> }
<ide... | |
Java | apache-2.0 | 5e239af731445aabba61ee83e3c2832179ca81bb | 0 | apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* dis... | dboe-transaction/src/main/java/org/seaborne/dboe/transaction/txn/TransactionCoordinator.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* dis... | Fix comment to reflect code. | dboe-transaction/src/main/java/org/seaborne/dboe/transaction/txn/TransactionCoordinator.java | Fix comment to reflect code. | <ide><path>boe-transaction/src/main/java/org/seaborne/dboe/transaction/txn/TransactionCoordinator.java
<ide> /** Execute an action in exclusive mode. This method can block.
<ide> * Equivalent to:
<ide> * <pre>
<del> * beginExclusive() ;
<add> * startExclusiveMode() ;
<ide> * try { action.... | |
Java | apache-2.0 | 7c8da5cec6fc81abcecb8d4bc196ed6a7a25f812 | 0 | khartec/waltz,davidwatkins73/waltz-dev,davidwatkins73/waltz-dev,rovats/waltz,davidwatkins73/waltz-dev,kamransaleem/waltz,rovats/waltz,davidwatkins73/waltz-dev,kamransaleem/waltz,khartec/waltz,rovats/waltz,kamransaleem/waltz,kamransaleem/waltz,khartec/waltz,khartec/waltz,rovats/waltz | package com.khartec.waltz.data.change_initiative;
import com.khartec.waltz.data.entity_hierarchy.AbstractIdSelectorFactory;
import com.khartec.waltz.data.orgunit.OrganisationalUnitIdSelectorFactory;
import com.khartec.waltz.model.EntityKind;
import com.khartec.waltz.model.EntityReference;
import com.khartec.waltz.mode... | waltz-data/src/main/java/com/khartec/waltz/data/change_initiative/ChangeInitiativeIdSelectorFactory.java | package com.khartec.waltz.data.change_initiative;
import com.khartec.waltz.data.entity_hierarchy.AbstractIdSelectorFactory;
import com.khartec.waltz.data.orgunit.OrganisationalUnitIdSelectorFactory;
import com.khartec.waltz.model.EntityKind;
import com.khartec.waltz.model.EntityReference;
import com.khartec.waltz.mode... | Revert CI status filter
#2797
| waltz-data/src/main/java/com/khartec/waltz/data/change_initiative/ChangeInitiativeIdSelectorFactory.java | Revert CI status filter | <ide><path>altz-data/src/main/java/com/khartec/waltz/data/change_initiative/ChangeInitiativeIdSelectorFactory.java
<ide> import com.khartec.waltz.model.EntityKind;
<ide> import com.khartec.waltz.model.EntityReference;
<ide> import com.khartec.waltz.model.IdSelectionOptions;
<del>import com.khartec.waltz.model.applicati... | |
Java | apache-2.0 | e5ee067b5d8c20c5826cae63c199d698dc7b0467 | 0 | TatsianaKasiankova/pentaho-kettle,GauravAshara/pentaho-kettle,airy-ict/pentaho-kettle,jbrant/pentaho-kettle,lgrill-pentaho/pentaho-kettle,alina-ipatina/pentaho-kettle,tmcsantos/pentaho-kettle,e-cuellar/pentaho-kettle,lgrill-pentaho/pentaho-kettle,sajeetharan/pentaho-kettle,denisprotopopov/pentaho-kettle,MikhailHubanau/... | package org.pentaho.di.ui.spoon.partition;
import org.junit.Before;
import org.junit.Test;
import org.pentaho.di.core.KettleEnvironment;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.core.exception.KettlePluginException;
import org.pentaho.di.core.plugins.PartitionerPluginType;
import org... | ui/test-src/org/pentaho/di/ui/spoon/partition/PartitionSettingsTest.java | package org.pentaho.di.ui.spoon.partition;
import org.hamcrest.CoreMatchers;
import org.junit.Before;
import org.junit.Test;
import org.pentaho.di.core.KettleEnvironment;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.core.exception.KettlePluginException;
import org.pentaho.di.core.plugins... | [BACKLOG-604] CLONE - Should not be able to create a partition on a step without a field
| ui/test-src/org/pentaho/di/ui/spoon/partition/PartitionSettingsTest.java | [BACKLOG-604] CLONE - Should not be able to create a partition on a step without a field | <ide><path>i/test-src/org/pentaho/di/ui/spoon/partition/PartitionSettingsTest.java
<ide> package org.pentaho.di.ui.spoon.partition;
<ide>
<del>import org.hamcrest.CoreMatchers;
<ide> import org.junit.Before;
<ide> import org.junit.Test;
<ide> import org.pentaho.di.core.KettleEnvironment;
<ide> import org.pentaho.di.co... | |
Java | apache-2.0 | 1c7a82c286da97863ef158d9ddf4c412579a4d13 | 0 | necouchman/incubator-guacamole-client,esmailpour-hosein/incubator-guacamole-client,TribeMedia/guacamole-client,flangelo/guacamole-client,softpymesJeffer/incubator-guacamole-client,noelbk/guacamole-client,AIexandr/guacamole-client,Akheon23/guacamole-client,TheAxnJaxn/guacamole-client,lato333/guacamole-client,MaxSmile/gu... |
package net.sourceforge.guacamole.net.basic;
import java.io.IOException;
import java.util.Collection;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ht... | guacamole/src/main/java/net/sourceforge/guacamole/net/basic/AuthenticatingHttpServlet.java |
package net.sourceforge.guacamole.net.basic;
import java.io.IOException;
import java.util.Collection;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ht... | Include exceptions in logger errors. | guacamole/src/main/java/net/sourceforge/guacamole/net/basic/AuthenticatingHttpServlet.java | Include exceptions in logger errors. | <ide><path>uacamole/src/main/java/net/sourceforge/guacamole/net/basic/AuthenticatingHttpServlet.java
<ide> // If error retrieving configs, fail authentication, notify listeners
<ide> catch (GuacamoleException e) {
<ide> logger.error("Error retrieving configuration(s) for user \"{... | |
Java | apache-2.0 | 0ccd346f71ac33bca790b595c0beba793aab548d | 0 | jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP,jishenghua/JSH_ERP | package com.jsh.erp.controller;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.jsh.erp.constants.ExceptionConstants;
import com.jsh.erp.datasource.entities.Function;
import com.jsh.erp.datasource.entities.User;
import com.jsh.erp.datasource.entities.UserBusiness;
import com.j... | jshERP-boot/src/main/java/com/jsh/erp/controller/FunctionController.java | package com.jsh.erp.controller;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.jsh.erp.constants.ExceptionConstants;
import com.jsh.erp.datasource.entities.Function;
import com.jsh.erp.datasource.entities.User;
import com.jsh.erp.datasource.entities.UserBusiness;
import com.j... | 解决超管无法配权限的bug | jshERP-boot/src/main/java/com/jsh/erp/controller/FunctionController.java | 解决超管无法配权限的bug | <ide><path>shERP-boot/src/main/java/com/jsh/erp/controller/FunctionController.java
<ide>
<ide> @Resource
<ide> private UserBusinessService userBusinessService;
<add>
<add> @PostMapping(value = "/findMenuByPNumber")
<add> public JSONArray findMenuByPNumber(@RequestBody JSONObject jsonObject,
<add> ... | |
Java | mit | 6eee62a98fa982600698bd31084d599980e4c125 | 0 | mixolidia/narjillos,nusco/narjillos,colinrubbert/narjillos,colinrubbert/narjillos,mixolidia/narjillos | package org.nusco.narjillos;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Random;
import org.nusco.narjillos.ecosystem.Ecosystem;
import... | core/src/main/java/org/nusco/narjillos/Lab.java | package org.nusco.narjillos;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Random;
import org.nusco.narjillos.ecosystem.Ecosystem;
import... | Change .gep extension to .gpl
Easier to remember.
| core/src/main/java/org/nusco/narjillos/Lab.java | Change .gep extension to .gpl | <ide><path>ore/src/main/java/org/nusco/narjillos/Lab.java
<ide> }
<ide>
<ide> private GenePool readGenePoolFromFile(String file) {
<del> Path filePath = Paths.get(file + ".gep");
<add> Path filePath = Paths.get(file + ".gpl");
<ide> if (!Files.exists(filePath)) {
<del> System.out.println("Warning: no .gep file... | |
Java | mit | 49ada5ac5c34dfea0a769618739b3b37e80abe3e | 0 | fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg | package ua.com.fielden.platform.entity;
import static java.util.Arrays.asList;
import static java.util.stream.Collectors.toList;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.fetchAll;
import static ua.com.fi... | platform-dao/src/test/java/ua/com/fielden/platform/entity/EntityBatchInsertOperationTest.java | package ua.com.fielden.platform.entity;
import static java.util.Arrays.asList;
import static java.util.stream.Collectors.toList;
import static org.junit.Assert.assertEquals;
import static ua.com.fielden.platform.entity.query.fluent.EntityQueryUtils.fetchAll;
import static ua.com.fielden.platform.entity.query.fluent.En... | #1032 Refactored and extended tests for EntityBatchUnsertOperation.
| platform-dao/src/test/java/ua/com/fielden/platform/entity/EntityBatchInsertOperationTest.java | #1032 Refactored and extended tests for EntityBatchUnsertOperation. | <ide><path>latform-dao/src/test/java/ua/com/fielden/platform/entity/EntityBatchInsertOperationTest.java
<ide> import static java.util.Arrays.asList;
<ide> import static java.util.stream.Collectors.toList;
<ide> import static org.junit.Assert.assertEquals;
<add>import static org.junit.Assert.fail;
<ide> import static ua... | |
Java | lgpl-2.1 | ff0291311917d35f7f6eb00dc4eaca6ce7e3304c | 0 | nexusformat/code,chrisemblhh/nexus,chrisemblhh/nexus,nexusformat/code,chrisemblhh/nexus,nexusformat/code,nexusformat/code,chrisemblhh/nexus,nexusformat/code,chrisemblhh/nexus | package org.nexusformat;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
import javax.swing.event.TreeModelListener;
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
class NXSnode impl... | applications/NXconvertpy/org/nexusformat/NXSnode.java | package org.nexusformat;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
class NXSnode {
private static final String PADDING = " ";
private static final String SDS = "SDS";
private static final Logger ... | Added TreeModel requirements. Refs #179.
git-svn-id: 1001b6e0dd469eaa302a741812f7f5d223cf35f7@1356 ff5d1e40-2be0-497f-93bd-dc18237bd3c7
| applications/NXconvertpy/org/nexusformat/NXSnode.java | Added TreeModel requirements. Refs #179. | <ide><path>pplications/NXconvertpy/org/nexusformat/NXSnode.java
<ide> import java.util.Map;
<ide> import java.util.Vector;
<ide>
<add>import javax.swing.event.TreeModelListener;
<add>import javax.swing.tree.TreeModel;
<add>import javax.swing.tree.TreePath;
<add>
<ide> import org.w3c.dom.NamedNodeMap;
<ide> import org.... | |
Java | mit | b8f2f886cc9304ac2dcbe80881957068a96267ec | 0 | navalev/azure-sdk-for-java,pomortaz/azure-sdk-for-java,hovsepm/azure-sdk-for-java,avranju/azure-sdk-for-java,selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,southworkscom/azure-sdk-for-java,oaastest/azure-sdk-for-java,herveyw/azure-sdk-for-java,jianghaolu/azure-sdk-for-java,jianghaolu/azure-sdk-for-java,her... | /**
* Copyright 2011 Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/blob/client/CopyState.java | /**
* Copyright 2011 Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Updated API docs
| microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/blob/client/CopyState.java | Updated API docs | <ide><path>icrosoft-azure-api/src/main/java/com/microsoft/windowsazure/services/blob/client/CopyState.java
<ide> */
<ide> public final class CopyState {
<ide> /**
<del> * Holds the Name of the Container
<add> * Holds the name of the container.
<ide> */
<ide> private String copyId;
<ide>
<ide> ... | |
JavaScript | mit | dc334131b4244778aef9583e4d10f25d874a7c06 | 0 | stoyanova-sm/epam-calendar,stoyanova-sm/epam-calendar | import '../data/tasksObject.json';
export default class Calendar {
constructor() {
this.displayDate = new Date();
this.calendarMap = [];
};
initialize() { //draw the calendar and add events to switch months
this.setEvents();
this.draw();
};
setEvents() { //add events to switch months by clicking arrow b... | application/js/calendar.js | import '../data/tasksObject.json';
export default class Calendar {
constructor() {
this.displayDate = new Date();
this.calendarMap = [];
};
initialize() { //draw the calendar and add events to switch months
this.setEvents();
this.draw();
};
setEvents() { //add events to switch months by clicking arrow b... | added a function to transfer tasks for the next week
| application/js/calendar.js | added a function to transfer tasks for the next week | <ide><path>pplication/js/calendar.js
<ide> draw() {
<ide> this.setHeader();
<ide> this.generateDates();
<del> this.requestTasks();
<add> this.renderTasks();
<ide> };
<ide>
<ide> setHeader() {
<ide> let firstWeekdayOfMonth;
<ide> const monthLength = new Date(firstDateToDisplay.getFullYear(), firstDateToDis... | |
JavaScript | mit | c5a12a8b46cc2323dd81d2881a50d81ae720cac7 | 0 | yaoshanliang/TypiCMS,omusico/TypiCMS,sdebacker/TypiCMS,sachintaware/TypiCMS,sdebacker/TypiCMS,yaoshanliang/TypiCMS,omusico/TypiCMS,yaoshanliang/TypiCMS,sachintaware/TypiCMS,elk1997/TypiCMS,omusico/TypiCMS,elk1997/TypiCMS,sdebacker/TypiCMS,sachintaware/TypiCMS | function enableSortable() {
// Sorting avec imbrication
var sortableList = $('.sortable'),
maxLevels = 1,
isTree = false,
handle = 'div',
placeholder = 'placeholder',
toleranceElement = '> div',
items = 'li',
url = document.URL.split('?')[0] + '/sort';
if (sortableList.hasClass('nested')) {
maxLevels... | public/js/list.js | function enableSortable() {
// Sorting avec imbrication
var sortableList = $('.sortable'),
maxLevels = 1,
isTree = false,
handle = 'div',
placeholder = 'placeholder',
toleranceElement = '> div',
items = 'li',
url = document.URL.split('?')[0] + '/sort';
if (sortableList.hasClass('nested')) {
maxLevels... | disclose button
| public/js/list.js | disclose button | <ide><path>ublic/js/list.js
<ide> if (sortableList.hasClass('nested')) {
<ide> maxLevels = 3;
<ide> isTree = true;
<del> sortableList.find('li div').prepend('<span class="disclose"></span>');
<add> sortableList.find('li > div').prepend('<span class="disclose"></span>');
<ide> }
<ide> if (sortableList.hasClass(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.