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
JavaScript
agpl-3.0
4a4a461eea795f47a712a066373d7f11ade1490e
0
asgdf/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,submindraikou/Pokemon-Showdown-Client,panpawn/Gold-Client,submindraikou/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client...
(function (exports, $) { // this is a useful global var teams; var TeambuilderRoom = exports.TeambuilderRoom = exports.Room.extend({ type: 'teambuilder', title: 'Teambuilder', initialize: function () { teams = Storage.teams; // left menu this.$el.addClass('ps-room-light').addClass('scrollable'); ...
js/client-teambuilder.js
(function (exports, $) { // this is a useful global var teams; var TeambuilderRoom = exports.TeambuilderRoom = exports.Room.extend({ type: 'teambuilder', title: 'Teambuilder', initialize: function () { teams = Storage.teams; // left menu this.$el.addClass('ps-room-light').addClass('scrollable'); ...
Fix EV recommender for Salac Berry
js/client-teambuilder.js
Fix EV recommender for Salac Berry
<ide><path>s/client-teambuilder.js <ide> } else if (abilityid === 'chlorophyll' || abilityid === 'swiftswim' || abilityid === 'sandrush') { <ide> isFast = true; <ide> moveCount['Ultrafast'] = 2; <add> } else if (itemid === 'salacberry') { <add> isFast = true; <ide> } <ide> if (hasMove['agility'] |...
Java
apache-2.0
345f6d6f9d3c4c9a061e73347b5a22698b751533
0
apache/jmeter,benbenw/jmeter,benbenw/jmeter,etnetera/jmeter,benbenw/jmeter,etnetera/jmeter,etnetera/jmeter,apache/jmeter,ham1/jmeter,apache/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,ham1/jmeter,ham1/jmeter,apache/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter
/* * 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 ...
src/core/org/apache/jmeter/gui/util/JDateField.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 ...
Naming convention for static fields Patch by B. Wiart https://github.com/apache/jmeter/pull/108 git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1729728 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: 4e36f4d3da130c3e81ae1bc452beca0cfd55b9f1
src/core/org/apache/jmeter/gui/util/JDateField.java
Naming convention for static fields Patch by B. Wiart https://github.com/apache/jmeter/pull/108
<ide><path>rc/core/org/apache/jmeter/gui/util/JDateField.java <ide> * Current format: MM/DD/YYYY HH:MM:SS 01234567890123456789 ^buffer <ide> * positions <ide> */ <del> private static final int fieldPositions[] = { <add> private static final int[] FIELD_POSITIONS = { <ide> Calendar.YEAR,...
Java
apache-2.0
e119f59893df3237ca47371a1b39fb57b735d7cf
0
eFaps/eFaps-Kernel,ov3rflow/eFaps-Kernel
/* * Copyright 2003 - 2011 The eFaps Team * * 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 ...
src/main/java/org/efaps/update/schema/ui/MenuUpdate.java
/* * Copyright 2003 - 2011 The eFaps Team * * 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 ...
- corrected update via rest bug. git-svn-id: f6286d974079baf467dd211e2f0de75b0d75837f@7027 fee104cc-1dfa-8c0f-632d-d3b7e6b59fb0
src/main/java/org/efaps/update/schema/ui/MenuUpdate.java
- corrected update via rest bug.
<ide><path>rc/main/java/org/efaps/update/schema/ui/MenuUpdate.java <ide> public class MenuUpdate <ide> extends CommandUpdate <ide> { <del> /** <del> * The links for the Menu to be updated. <del> */ <del> protected static final Set<Link> ALLLINKS = new HashSet<Link>(); <del> static { <del> M...
Java
lgpl-2.1
13c451a51fae2496e710be841aba7f91003588ed
0
skplanet/syruppay-java,skplanet/syruppay-java
/* * Syrup Pay Token Library * * Copyright (C) 2015 SK PLANET. ALL Rights Reserved. * * 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 y...
syruppay-token/src/main/java/com/skplanet/syruppay/token/claims/SubscriptionConfigurer.java
/* * Syrup Pay Token Library * * Copyright (C) 2015 SK PLANET. ALL Rights Reserved. * * 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 y...
#27 subscriptionId 삭제, autoPaymentId 추가
syruppay-token/src/main/java/com/skplanet/syruppay/token/claims/SubscriptionConfigurer.java
#27 subscriptionId 삭제, autoPaymentId 추가
<ide><path>yruppay-token/src/main/java/com/skplanet/syruppay/token/claims/SubscriptionConfigurer.java <ide> public class SubscriptionConfigurer<H extends TokenBuilder<H>> extends AbstractTokenConfigurer<SubscriptionConfigurer<H>, H> { <ide> private SubscriptionType subscriptionType; <ide> private String shippin...
Java
lgpl-2.1
71044d741e8f4ead0fb22b1e87922c19219e12b9
0
pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
xwiki-platform-web/xwiki-gwt-dom/src/main/java/org/xwiki/gwt/dom/client/Style.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
XWIKI-3442: Review the font plugin * Added the font-size property git-svn-id: 04343649e741710b2e0f622af6defd1ac33e5ca5@18914 f329d543-caf0-0310-9063-dda96c69346f
xwiki-platform-web/xwiki-gwt-dom/src/main/java/org/xwiki/gwt/dom/client/Style.java
XWIKI-3442: Review the font plugin * Added the font-size property
<ide><path>wiki-platform-web/xwiki-gwt-dom/src/main/java/org/xwiki/gwt/dom/client/Style.java <ide> public static final Property FONT_FAMILY = new Property("font-family", "fontFamily", true, true, ""); <ide> <ide> /** <add> * The font-size property sets the size of a font. <add> */ <add> public stati...
Java
apache-2.0
0706073d19c9f539c952efdd351c1d3b61a38c82
0
ruks/carbon-apimgt,wso2/carbon-apimgt,malinthaprasan/carbon-apimgt,tharindu1st/carbon-apimgt,chamilaadhi/carbon-apimgt,tharikaGitHub/carbon-apimgt,bhathiya/carbon-apimgt,jaadds/carbon-apimgt,malinthaprasan/carbon-apimgt,nuwand/carbon-apimgt,bhathiya/carbon-apimgt,isharac/carbon-apimgt,chamindias/carbon-apimgt,prasa7/ca...
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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....
components/apimgt/org.wso2.carbon.apimgt.rest.api.endpoint.registry/src/main/java/org/wso2/carbon/apimgt/rest/api/endpoint/registry/impl/RegistriesApiServiceImpl.java
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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....
Fix issue in service impl
components/apimgt/org.wso2.carbon.apimgt.rest.api.endpoint.registry/src/main/java/org/wso2/carbon/apimgt/rest/api/endpoint/registry/impl/RegistriesApiServiceImpl.java
Fix issue in service impl
<ide><path>omponents/apimgt/org.wso2.carbon.apimgt.rest.api.endpoint.registry/src/main/java/org/wso2/carbon/apimgt/rest/api/endpoint/registry/impl/RegistriesApiServiceImpl.java <ide> import org.wso2.carbon.apimgt.api.EndpointRegistry; <ide> import org.wso2.carbon.apimgt.api.model.EndpointRegistryEntry; <ide> import org...
Java
apache-2.0
597e436da7b377d1742cbfbadb90aa0014658909
0
apache/pdfbox,kalaspuffar/pdfbox,apache/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 ...
tools/src/main/java/org/apache/pdfbox/tools/WriteDecodedDoc.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 ...
PDFBOX-4952: save document with no compression git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1885016 13f79535-47bb-0310-9956-ffa450edef68
tools/src/main/java/org/apache/pdfbox/tools/WriteDecodedDoc.java
PDFBOX-4952: save document with no compression
<ide><path>ools/src/main/java/org/apache/pdfbox/tools/WriteDecodedDoc.java <ide> import org.apache.pdfbox.cos.COSName; <ide> import org.apache.pdfbox.cos.COSObject; <ide> import org.apache.pdfbox.cos.COSStream; <add>import org.apache.pdfbox.pdfwriter.compress.CompressParameters; <ide> import org.apache.pdfbox.pdmodel.P...
Java
mit
error: pathspec 'src/Test/ListOrphans.java' did not match any file(s) known to git
77e190ad68522a33367109e1c417c03ca05a8a83
1
mdadariy/Team_3_Project
package Test; import Model.Individual; /** * Created by dinever on 11/30/15. */ public class ListOrphans { public static void list(Individual ind) { if (ind.getFather() != null && ind.getMother() != null) if (ind.getAge() <= 18.0 && ind.getFather().getDeathDate() != null && ind.getMother().g...
src/Test/ListOrphans.java
[User Story 20] List orphans
src/Test/ListOrphans.java
[User Story 20] List orphans
<ide><path>rc/Test/ListOrphans.java <add>package Test; <add> <add>import Model.Individual; <add> <add>/** <add> * Created by dinever on 11/30/15. <add> */ <add>public class ListOrphans { <add> public static void list(Individual ind) { <add> if (ind.getFather() != null && ind.getMother() != null) <add> ...
Java
apache-2.0
85a4b5bf8b03bcbfb4f7d502e2e9e2410b4bedec
0
evanji/gitdemo
package test; /** * Created by 烦 on 2017/5/17. */ public class Demo { public static void main(String[] args) { System.out.println("我是b"); System.out.println("ksajdhas"); System.out.println("sss"); System.out.println(); } }
Demo1/src/test/Demo.java
package test; /** * Created by 烦 on 2017/5/17. */ public class Demo { public static void main(String[] args) { System.out.println("我是A"); System.out.println("ksajdhas"); System.out.println("sss"); System.out.println(); } }
lalaal
Demo1/src/test/Demo.java
lalaal
<ide><path>emo1/src/test/Demo.java <ide> */ <ide> public class Demo { <ide> public static void main(String[] args) { <del> System.out.println("我是A"); <add> System.out.println("我是b"); <ide> System.out.println("ksajdhas"); <ide> System.out.println("sss"); <ide> System.out.printl...
Java
apache-2.0
2269f3851abbf4febd8e71458d81286e8908c4de
0
dans123456/pnc,pgier/pnc,rnc/pnc,ruhan1/pnc,jbartece/pnc,thauser/pnc,alexcreasy/pnc,matejonnet/pnc,jdcasey/pnc,project-ncl/pnc,ruhan1/pnc,mareknovotny/pnc,michalszynkiewicz/pnc,dans123456/pnc,mareknovotny/pnc,emmettu/pnc,mareknovotny/pnc,dans123456/pnc,psakar/pnc,michalszynkiewicz/pnc,pgier/pnc,alexcreasy/pnc,jdcasey/p...
/** * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated 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 Lice...
model/src/main/java/org/jboss/pnc/model/BuildRecord.java
/** * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated 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 Lice...
Polishing of leftovers
model/src/main/java/org/jboss/pnc/model/BuildRecord.java
Polishing of leftovers
<ide><path>odel/src/main/java/org/jboss/pnc/model/BuildRecord.java <ide> private static final long serialVersionUID = -5472083609387609797L; <ide> <ide> public static final String SEQUENCE_NAME = "build_record_id_seq"; <del> // public static final String PREPARED_STATEMENT_INSERT = "INSERT INTO buildrecord ...
Java
mit
6692e0395b9033e4c6406e6feac6b9a58f90f4dc
0
agpartha/java
package io.anand.springboot; import java.util.Arrays; import java.util.List; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiResponse; import io.swagger.annotations.ApiResponses; import org.springframework.beans.factory.annotation.Autowired; import org.s...
simplerest/src/main/java/io/anand/springboot/UserController.java
package io.anand.springboot; import java.util.Arrays; import java.util.List; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiResponse; import io.swagger.annotations.ApiResponses; import org.springframework.beans.factory.annotation.Autowired; import org.s...
move to method specific mapping annotations
simplerest/src/main/java/io/anand/springboot/UserController.java
move to method specific mapping annotations
<ide><path>implerest/src/main/java/io/anand/springboot/UserController.java <ide> return userService.getUsers(); <ide> } <ide> <del> @RequestMapping(method=RequestMethod.GET, value="/users/{name}") <add>// @RequestMapping(method=RequestMethod.GET, value="/users/{name}") <add> @GetMapping("/users/{name}") <ide> @Api...
Java
apache-2.0
713356baf4e938f80bddf170876337487eee7d03
0
stephanenicolas/toothpick,stephanenicolas/toothpick,stephanenicolas/toothpick
package toothpick.compiler.factory; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import javax.annotation.processing.AbstractProcessor; import javax.annotatio...
toothpick-compiler/src/main/java/toothpick/compiler/factory/FactoryProcessor.java
package toothpick.compiler.factory; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import javax.annotation.processing.AbstractProcessor; import javax.annotatio...
Support inheritance.
toothpick-compiler/src/main/java/toothpick/compiler/factory/FactoryProcessor.java
Support inheritance.
<ide><path>oothpick-compiler/src/main/java/toothpick/compiler/factory/FactoryProcessor.java <ide> import javax.lang.model.element.Modifier; <ide> import javax.lang.model.element.TypeElement; <ide> import javax.lang.model.element.VariableElement; <add>import javax.lang.model.type.DeclaredType; <ide> import javax.lang.mo...
Java
apache-2.0
577462c2fef963d3ece207b9a80c20169d3618fa
0
javild/opencga,opencb/opencga,opencb/opencga,j-coll/opencga,j-coll/opencga,j-coll/opencga,opencb/opencga,opencb/opencga,javild/opencga,javild/opencga,javild/opencga,opencb/opencga,opencb/opencga,j-coll/opencga,j-coll/opencga,javild/opencga,javild/opencga,j-coll/opencga
/* * Copyright 2015 OpenCB * * 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 wr...
opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/alignment/tasks/AlignmentRegionCompactorTask.java
/* * Copyright 2015 OpenCB * * 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 wr...
storage: Biodata classname change, AlignmentHelper -> AlignmentUtils
opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/alignment/tasks/AlignmentRegionCompactorTask.java
storage: Biodata classname change, AlignmentHelper -> AlignmentUtils
<ide><path>pencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/alignment/tasks/AlignmentRegionCompactorTask.java <ide> <ide> package org.opencb.opencga.storage.core.alignment.tasks; <ide> <del>import org.opencb.biodata.formats.alignment.AlignmentHelper; <add>import org.opencb.biodata.for...
Java
mit
2b1d3221e3398c201a86ab4ab0a99cd2dbd6f71c
0
Instabug/instabug-reactnative,Instabug/instabug-reactnative,Instabug/instabug-reactnative,Instabug/instabug-reactnative,Instabug/instabug-reactnative
package com.instabug.reactlibrary; import android.app.Application; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import...
android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativePackage.java
package com.instabug.reactlibrary; import android.app.Application; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import...
parse screenshot invocation event type (#256) Fix the Android implementation is missing a branch in the `parseInvocationEvent` loop for the `InstabugInvocationEvent.SCREENSHOT` type. It prevents users from using the screenshot invocation on Android React Native apps.
android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativePackage.java
parse screenshot invocation event type (#256)
<ide><path>ndroid/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativePackage.java <ide> <ide> } else if (invocationEventValues[i].equals("shake")) { <ide> this.invocationEvents.add(InstabugInvocationEvent.SHAKE); <add> <add> } else if (invocationEventValues[i].equals("s...
Java
apache-2.0
e24e2cd74d596584545644e1b995295f510afd4b
0
opencirclesolutions/dynamo,opencirclesolutions/dynamo
/* 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 distributed u...
dynamo-frontend/src/main/java/com/ocs/dynamo/domain/model/impl/ModelBasedFieldFactory.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 distributed u...
Tooltips
dynamo-frontend/src/main/java/com/ocs/dynamo/domain/model/impl/ModelBasedFieldFactory.java
Tooltips
<ide><path>ynamo-frontend/src/main/java/com/ocs/dynamo/domain/model/impl/ModelBasedFieldFactory.java <ide> limitations under the License. <ide> */ <ide> package com.ocs.dynamo.domain.model.impl; <del> <del>import java.io.Serializable; <del>import java.math.BigDecimal; <del>import java.time.LocalDate; <del>import ja...
Java
apache-2.0
9eb025b71a4fdba05293a4c9560d95ee770f4d3d
0
cuba-platform/cuba,cuba-platform/cuba,cuba-platform/cuba
/* * Copyright (c) 2008-2016 Haulmont. * * 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 agr...
modules/web/src/com/haulmont/cuba/web/gui/components/WebAbstractDataGrid.java
/* * Copyright (c) 2008-2016 Haulmont. * * 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 agr...
DataGrid generated columns that correspond to an Entity attribute must be sortable #1704
modules/web/src/com/haulmont/cuba/web/gui/components/WebAbstractDataGrid.java
DataGrid generated columns that correspond to an Entity attribute must be sortable #1704
<ide><path>odules/web/src/com/haulmont/cuba/web/gui/components/WebAbstractDataGrid.java <ide> Grid.Column<E, Object> generatedColumn = <ide> component.addColumn(createGeneratedColumnValueProvider(columnId, generator)); <ide> <del> ColumnImpl<E> column = new ColumnImpl<>(columnId, generat...
Java
mit
4cbb96be943715505d4c92c36e182e8aa7ffc530
0
kriegfrj/robolectric,karlicoss/robolectric,erichaugh/robolectric,davidsun/robolectric,tjohn/robolectric,tec27/robolectric,diegotori/robolectric,1zaman/robolectric,diegotori/robolectric,ChengCorp/robolectric,spotify/robolectric,jingle1267/robolectric,jingle1267/robolectric,fiower/robolectric,plackemacher/robolectric,Won...
package org.robolectric.res.builder; import android.content.ComponentName; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.ActivityInfo; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.ResolveInfo; import android....
src/main/java/org/robolectric/res/builder/RobolectricPackageManager.java
package org.robolectric.res.builder; import android.content.ComponentName; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.ActivityInfo; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.ResolveInfo; import android....
Added @Override to methods in IntentComparator
src/main/java/org/robolectric/res/builder/RobolectricPackageManager.java
Added @Override to methods in IntentComparator
<ide><path>rc/main/java/org/robolectric/res/builder/RobolectricPackageManager.java <ide> <ide> private static class IntentComparator implements Comparator<Intent> { <ide> <add> @Override <ide> public int compare(Intent i1, Intent i2) { <ide> if (i1 == null && i2 == null) return 0; <ide> if (i1 ==...
Java
apache-2.0
7fcd2d92f17ea8d8720168f6317d6a66fdcc6414
0
HanSolo/Enzo
/* * Copyright (c) 2013, Gerrit Grunwald * All right reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of conditions ...
src/eu/hansolo/enzo/qlocktwo/QlockGerman.java
/* * Copyright (c) 2013, Gerrit Grunwald * All right reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of conditions ...
fixed typo in QlockGerman
src/eu/hansolo/enzo/qlocktwo/QlockGerman.java
fixed typo in QlockGerman
<ide><path>rc/eu/hansolo/enzo/qlocktwo/QlockGerman.java <ide> ZWEI(5, 7, 10), <ide> DREI(2, 0, 3), <ide> VIER(6, 7, 10), <del> FÜNF(4, 7, 0), <add> FÜNF(4, 7, 10), <ide> FÜNF1(0, 7, 10), <ide> FÜNF2(4, 7, 10), <ide> SECHS(7, 0, 4),
JavaScript
mit
bad2069bf8d3df546037c0f31c71c5d5e4cd649e
0
tetranz/select2entity-bundle,tetranz/select2entity-bundle,tetranz/select2entity-bundle
$(document).ready(function () { $.fn.select2entity = function (options) { this.each(function () { var request; // Keep a reference to the element so we can keep the cache local to this instance and so we can // fetch config settings since select2 doesn't expose its optio...
Resources/public/js/select2entity.js
$(document).ready(function () { $.fn.select2entity = function (options) { this.each(function () { // Keep a reference to the element so we can keep the cache local to this instance and so we can // fetch config settings since select2 doesn't expose its options to the transport method...
Abort previous AJAX request
Resources/public/js/select2entity.js
Abort previous AJAX request
<ide><path>esources/public/js/select2entity.js <ide> $(document).ready(function () { <ide> $.fn.select2entity = function (options) { <ide> this.each(function () { <add> var request; <add> <ide> // Keep a reference to the element so we can keep the cache local to this instance and so w...
Java
lgpl-2.1
b115de13764e32bbd9a8ec40926f949ea066393e
0
janissl/languagetool,jimregan/languagetool,janissl/languagetool,languagetool-org/languagetool,meg0man/languagetool,janissl/languagetool,meg0man/languagetool,languagetool-org/languagetool,meg0man/languagetool,janissl/languagetool,languagetool-org/languagetool,lopescan/languagetool,meg0man/languagetool,lopescan/languaget...
/* LanguageTool, a natural language style checker * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de) * Copyright (C) 2013 Stefan Lotties * * 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 Soft...
languagetool-core/src/main/java/org/languagetool/tagging/disambiguation/rules/DisambiguationPatternRuleReplacer.java
/* LanguageTool, a natural language style checker * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de) * Copyright (C) 2013 Stefan Lotties * * 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 Soft...
fix bug -- unification removed chunk info
languagetool-core/src/main/java/org/languagetool/tagging/disambiguation/rules/DisambiguationPatternRuleReplacer.java
fix bug -- unification removed chunk info
<ide><path>anguagetool-core/src/main/java/org/languagetool/tagging/disambiguation/rules/DisambiguationPatternRuleReplacer.java <ide> unifiedTokens[i].setStartPos(whTokens[position].getStartPos()); <ide> final String prevValue = whTokens[position].toString(); <ide> final String prevAn...
Java
unlicense
4d1469192c9396383d4521efd9ed84868a074be9
0
noritersand/laboratory,noritersand/laboratory,noritersand/laboratory
package thirdparty.com.fasterxml.jackson; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Assert; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson.core.JsonParse...
src/test/java/thirdparty/com/fasterxml/jackson/JacksonTest.java
package thirdparty.com.fasterxml.jackson; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Assert; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson.core.JsonParse...
fix compile error
src/test/java/thirdparty/com/fasterxml/jackson/JacksonTest.java
fix compile error
<ide><path>rc/test/java/thirdparty/com/fasterxml/jackson/JacksonTest.java <ide> @Test <ide> public void testReadValue() throws JsonParseException, JsonMappingException, IOException { <ide> String jsonText = "[{\"html1\":\"<p>홀홀</p>\",\"html2\":\"<p>ㅗㅎ롷ㄹ</p>\"}]"; <del> final List<Map<String, Object>> collection <a...
JavaScript
mit
ca2956149615aa3ef9ee825fed14cf2a21f31955
0
Socialsquare/dr-bybilleder,Socialsquare/dr-bybilleder
import React, { Component, PropTypes } from 'react'; import './CollageCanvas.css'; const CSS_PREFIXES = { 'transform': ['-webkit-transform', '-ms-transform'] }; const generatePrefixes = attributes => { const result = {}; // Loop through the attributes Object.keys(attributes).forEach(key => { const value ...
client/src/presentationals/CollageCanvas.js
import React, { Component, PropTypes } from 'react'; import './CollageCanvas.css'; const generateStyle = attributes => { return Object.keys(attributes).map(key => { const value = attributes[key]; return key + ':' + value + ';'; }).join(''); }; const addSource = (element, url, type) => { const sourceEle...
Fixing CSS prefixing at runtime and
client/src/presentationals/CollageCanvas.js
Fixing CSS prefixing at runtime and
<ide><path>lient/src/presentationals/CollageCanvas.js <ide> <ide> import './CollageCanvas.css'; <ide> <add>const CSS_PREFIXES = { <add> 'transform': ['-webkit-transform', '-ms-transform'] <add>}; <add> <add>const generatePrefixes = attributes => { <add> const result = {}; <add> // Loop through the attributes <add>...
JavaScript
agpl-3.0
14cd4c7c5e00e9c98d78704f04500eb3d1451618
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
/* * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its S...
cell/.unit-tests/FormulaTests.js
/* * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its S...
[se] text test changes
cell/.unit-tests/FormulaTests.js
[se] text test changes
<ide><path>ell/.unit-tests/FormulaTests.js <ide> <ide> oParser = new parserFormula( "TEXT(123,\"основной\")", "A2", ws ); <ide> ok( oParser.parse() ); <del> strictEqual( oParser.calculate().getValue(), "General" ); <add> strictEqual( oParser.calculate().getValue(), "123" ); <ide> <ide> ...
Java
mit
0fdfacbe52a3866e4565bc50c1bc9e93de6b01e8
0
windy1/google-places-api-java,0x3333/google-places-api-java,OtoAnalytics/google-places-api-java,hughsoong/google-places-api-java,andreibalan/google-places-api-java,abouzek/google-places-api-java
package se.walkercrou.places; import org.json.JSONArray; import org.json.JSONObject; import se.walkercrou.places.exception.GooglePlacesException; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Col...
src/main/java/se/walkercrou/places/Place.java
package se.walkercrou.places; import org.json.JSONArray; import org.json.JSONObject; import se.walkercrou.places.exception.GooglePlacesException; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Col...
Set the placeId in Place.getDetails() (thanks Todd) Signed-off-by: Walker Crouse <a52c6ce3cf7a08dcbb27377aa79f9b994b446d4c@hotmail.com>
src/main/java/se/walkercrou/places/Place.java
Set the placeId in Place.getDetails() (thanks Todd)
<ide><path>rc/main/java/se/walkercrou/places/Place.java <ide> <ide> // easy stuff <ide> String name = result.getString(STRING_NAME); <add> String id = result.getString(STRING_PLACE_ID); <ide> String address = result.optString(STRING_ADDRESS, null); <ide> String phone = result.opt...
Java
apache-2.0
error: pathspec 'thread/src/main/java/org/tanc/concurrent/lock/ConditionUseCase.java' did not match any file(s) known to git
65032cba851883b26c7947a4e21c4eff5d7d0cef
1
gogotanc/java-demo
package org.tanc.concurrent.lock; import org.tanc.concurrent.thread.SleepUtils; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * condition 运用示例 * Created by tanc on 2017/5/2. */ public class ConditionUseCase { public s...
thread/src/main/java/org/tanc/concurrent/lock/ConditionUseCase.java
condition use case
thread/src/main/java/org/tanc/concurrent/lock/ConditionUseCase.java
condition use case
<ide><path>hread/src/main/java/org/tanc/concurrent/lock/ConditionUseCase.java <add>package org.tanc.concurrent.lock; <add> <add>import org.tanc.concurrent.thread.SleepUtils; <add> <add>import java.util.concurrent.locks.Condition; <add>import java.util.concurrent.locks.Lock; <add>import java.util.concurrent.locks.Reentr...
Java
apache-2.0
eb20bb9c330bf88ef18fb50c82ffd68a3c4fe077
0
nectec-wisru/android-TanrabadSurvey,nectec-wisru/android-TanlabadSurvey,tanrabad/survey
/* * Copyright (c) 2016 NECTEC * National Electronics and Computer Technology Center, Thailand * * 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/...
app/src/main/java/th/or/nectec/tanrabad/survey/presenter/PlaceFormActivity.java
/* * Copyright (c) 2016 NECTEC * National Electronics and Computer Technology Center, Thailand * * 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/...
แก้บัคเพิ่มหรือแก้ไขชุมชนไม่ได้ ในกรณีที่หน่วยงานดังกล่าวสามารถเพิ่มชุมชนได้
app/src/main/java/th/or/nectec/tanrabad/survey/presenter/PlaceFormActivity.java
แก้บัคเพิ่มหรือแก้ไขชุมชนไม่ได้ ในกรณีที่หน่วยงานดังกล่าวสามารถเพิ่มชุมชนได้
<ide><path>pp/src/main/java/th/or/nectec/tanrabad/survey/presenter/PlaceFormActivity.java <ide> <ide> private void setupPlaceTypeSelector() { <ide> final PlaceTypeForAddAdapter placeAdapter = new PlaceTypeForAddAdapter( <del> this, !AccountUtils.canAddOrEditVillage()); <add> t...
Java
mit
ea2750ec4247d02edc707967d06e1e1e70f52ae3
0
joan-domingo/Podcasts-RAC1-Android
package cat.xojan.random1.presenter; import android.app.DownloadManager; import android.content.Context; import android.net.Uri; import android.os.Environment; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import cat.xojan.random1.commons.ErrorUtil; import cat.xojan.random1.domain.i...
app/src/main/java/cat/xojan/random1/presenter/PodcastListPresenter.java
package cat.xojan.random1.presenter; import android.app.DownloadManager; import android.content.Context; import android.net.Uri; import android.os.Environment; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import cat.xojan.random1.commons.ErrorUtil; import cat.xojan.random1.domain.i...
fix issue #61
app/src/main/java/cat/xojan/random1/presenter/PodcastListPresenter.java
fix issue #61
<ide><path>pp/src/main/java/cat/xojan/random1/presenter/PodcastListPresenter.java <ide> <ide> public void setPodcastsListener(PodcastsListener listener) { <ide> mListener = listener; <del> mSubscription = mPodcastDataInteractor.getDownloadedPodcasts() <del> .observeOn(AndroidScheduler...
JavaScript
mit
21b674530ba4c0cd6d72e993d4a57882aa89ef8b
0
johnbabb/backbone-sandbox
<!-- saved from url=(0048)file:///C:/Users/jxb15/Desktop/Scratch/gist.html --> <script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/j...
gits-one.js
<!-- saved from url=(0048)file:///C:/Users/jxb15/Desktop/Scratch/gist.html --> <script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/j...
auth me
gits-one.js
auth me
<ide><path>its-one.js <ide> }); <ide> </script> <ide> </body> <add> momma! <ide> </html>
Java
mit
ea7b44a67d5fd41dad056c39bf0b20205e249a5c
0
Jullekungfu/SpaceDefence
package slimpleslickgame; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import org.newdawn.slick.ShapeFill; import org.newdawn.slick.fills.GradientFill; import org.newdawn.slick.geom.Rectangle; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Vector2f; public class Creep { pr...
slick-game/src/slimpleslickgame/Creep.java
package slimpleslickgame; import org.newdawn.slick.Color; import org.newdawn.slick.Graphics; import org.newdawn.slick.ShapeFill; import org.newdawn.slick.fills.GradientFill; import org.newdawn.slick.geom.Rectangle; import org.newdawn.slick.geom.Shape; import org.newdawn.slick.geom.Vector2f; public class Creep { pr...
render creeps
slick-game/src/slimpleslickgame/Creep.java
render creeps
<ide><path>lick-game/src/slimpleslickgame/Creep.java <ide> <ide> public void render(Graphics graphics){ <ide> if(hp > 0 && !isDestroyed){ <del> graphics.fill(shape, shapeFill); <add>// graphics.fill(shape, shapeFill); <add> graphics.draw(shape, shapeFill); <ide> } <ide> } <ide>
JavaScript
mit
004707dfe73094ce7803a90e6e5829b9e320d5db
0
igemsoftware/SYSU-Software2013,igemsoftware/SYSU-Software2013,igemsoftware/SYSU-Software2013,igemsoftware/SYSU-Software2013,igemsoftware/SYSU-Software2013,igemsoftware/SYSU-Software2013
/** * * File: graphiti.js * Author: Rathinho * Description: Initialization of graphiti * **/ // Create namespace var g = {}; g.Application = Class.extend({ NAME: "graphiti.Application", /** * @constructor * * @param {String} canvasId the id of the DOM element to use a...
project/Python27/web/static/js/regulation/graphiti.js
/** * * File: graphiti.js * Author: Rathinho * Description: Initialization of graphiti * **/ // Create namespace var g = {}; g.Application = Class.extend({ NAME: "graphiti.Application", /** * @constructor * * @param {String} canvasId the id of the DOM element to use a...
rematch name
project/Python27/web/static/js/regulation/graphiti.js
rematch name
<ide><path>roject/Python27/web/static/js/regulation/graphiti.js <ide> app.view.boundPairs.push({ <ide> from: source.getId(), <ide> to: target.getId(), <del> type: "bound", <add> type: "Bound", <ide> inducer: "none" <ide> ...
JavaScript
mit
b5c75ffd96b2a42835f71f7354dc319fbe3f13bf
0
NAPWebProductionEditTeam/MagTool2,NAPWebProductionEditTeam/MagTool2,NAPWebProductionEditTeam/MagTool2
(function(window, $, app) { function Credits() { var getCreditHolder = function() { return app.Page.get().find('[class*="creditsHolder"]'); }; var getCreditWhole = function() { return app.Page.get().find('[class*="creditsWhole"]'); }; ...
src/js/Application/Credits.js
/* globals magazineBuilder */ (function(window, $, app) { function Credits (){ var getCreditHolder=function(){ return app.Page.get().find('[class*="creditsHolder"]'); }; var getCreditWhole=function(){ return app.Page.get().find('[class*="creditsWhole"]'); ...
CS Fixes
src/js/Application/Credits.js
CS Fixes
<ide><path>rc/js/Application/Credits.js <del>/* globals magazineBuilder */ <del> <ide> (function(window, $, app) { <del> function Credits (){ <del> var getCreditHolder=function(){ <add> function Credits() { <add> var getCreditHolder = function() { <ide> return app.Page.get().find('[class...
Java
bsd-3-clause
dff5297b7e02a968fce6ca02498526b85909680d
0
ClemsonRSRG/RESOLVE,ClemsonRSRG/RESOLVE,NighatYasmin/RESOLVE,yushan87/RESOLVE,mikekab/RESOLVE,ClemsonRSRG/RESOLVE,yushan87/RESOLVE,mikekab/RESOLVE,yushan87/RESOLVE,NighatYasmin/RESOLVE,NighatYasmin/RESOLVE
/** * VCGenerator.java * --------------------------------- * Copyright (c) 2015 * 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', which is p...
src/main/java/edu/clemson/cs/r2jt/vcgeneration/VCGenerator.java
/** * VCGenerator.java * --------------------------------- * Copyright (c) 2015 * 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', which is p...
Removed redundant code
src/main/java/edu/clemson/cs/r2jt/vcgeneration/VCGenerator.java
Removed redundant code
<ide><path>rc/main/java/edu/clemson/cs/r2jt/vcgeneration/VCGenerator.java <ide> currentFinalConfirm = <ide> myTypeGraph.formImplies(stmt.getAssertion(), <ide> currentFinalConfirm); <del> simplify = false; <ide> } <ide> <...
Java
apache-2.0
7315c9fa3bfbd1d27060908c4fd2cf12d59dd382
0
Syquel/BushyTail
/* * Copyright 2016, Frederik Boster * * 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 agree...
src/main/java/de/syquel/bushytail/serializer/OlingoSerializer.java
/* * Copyright 2016, Frederik Boster * * 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 agree...
Document seralizer.
src/main/java/de/syquel/bushytail/serializer/OlingoSerializer.java
Document seralizer.
<ide><path>rc/main/java/de/syquel/bushytail/serializer/OlingoSerializer.java <ide> import org.apache.olingo.commons.api.data.Property; <ide> import org.apache.olingo.commons.api.data.ValueType; <ide> import org.apache.olingo.commons.api.edm.EdmEntityType; <add>import org.slf4j.Logger; <add>import org.slf4j.LoggerFactor...
Java
mit
58f9b1e7d184bfe60f496a619d28e24ace651eea
0
rememberber/WePush,rememberber/WePush
package com.fangxuele.tool.wechat.push.util; import com.fangxuele.tool.wechat.push.ui.Init; import com.fangxuele.tool.wechat.push.ui.MainWindow; import com.xiaoleilu.hutool.log.Log; import com.xiaoleilu.hutool.log.LogFactory; import org.apache.commons.lang3.StringUtils; import javax.swing.*; import java.sql.Connectio...
src/main/java/com/fangxuele/tool/wechat/push/util/DbUtilMySQL.java
package com.fangxuele.tool.wechat.push.util; import com.fangxuele.tool.wechat.push.ui.Init; import com.xiaoleilu.hutool.log.Log; import com.xiaoleilu.hutool.log.LogFactory; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; /...
优化:未在设置中配置数据库信息时,执行导入操作的报错
src/main/java/com/fangxuele/tool/wechat/push/util/DbUtilMySQL.java
优化:未在设置中配置数据库信息时,执行导入操作的报错
<ide><path>rc/main/java/com/fangxuele/tool/wechat/push/util/DbUtilMySQL.java <ide> package com.fangxuele.tool.wechat.push.util; <ide> <ide> import com.fangxuele.tool.wechat.push.ui.Init; <add>import com.fangxuele.tool.wechat.push.ui.MainWindow; <ide> import com.xiaoleilu.hutool.log.Log; <ide> import com.xiaoleilu.huto...
JavaScript
mit
14ad15d6c296d52f6851659ddba3001bf400dea8
0
FaridSafi/react-native-gifted-messenger,atFriendly/react-native-friendly-chat,slavik0329/react-native-gifted-messenger,FaridSafi/react-native-gifted-chat,gnl/react-native-gifted-messenger,pluralcom/react-native-gifted-chat,pluralcom/react-native-gifted-chat,atFriendly/react-native-friendly-chat,gnl/react-native-gifted-...
'use strict'; var React = require('react-native'); var { Text, View, ListView, TextInput, Dimensions, Animated, Image, TouchableHighlight, Platform, PixelRatio } = React; var moment = require('moment'); var extend = require('extend'); import InvertibleScrollView from 'react-native-invertible-scro...
GiftedMessenger.js
'use strict'; var React = require('react-native'); var { Text, View, ListView, TextInput, Dimensions, Animated, Image, TouchableHighlight, Platform, PixelRatio } = React; var moment = require('moment'); var extend = require('extend'); import InvertibleScrollView from 'react-native-invertible-scro...
Add custom renderText and onSend
GiftedMessenger.js
Add custom renderText and onSend
<ide><path>iftedMessenger.js <ide> initialMessages: React.PropTypes.array, <ide> messages: React.PropTypes.array, <ide> handleSend: React.PropTypes.func, <add> onCustomSend: React.PropTypes.func, <add> renderCustomText: React.PropTypes.func, <ide> maxHeight: React.PropTypes.number, <ide> sende...
Java
mit
fba7302d90b894c20f067bcd740978337e8a574f
0
koreader/android-luajit-launcher,koreader/android-luajit-launcher,koreader/android-luajit-launcher,koreader/android-luajit-launcher
package org.koreader.launcher; import android.content.Context; import android.content.Intent; import android.net.DhcpInfo; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.text.format.Formatter; import android.os.Build; import android.os.Bundle; import android.os.Handler; import an...
src/org/koreader/launcher/MainActivity.java
package org.koreader.launcher; import android.content.Context; import android.content.Intent; import android.net.DhcpInfo; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.text.format.Formatter; import android.os.Build; import android.os.Bundle; import android.os.Handler; import an...
unbreak fullscreen toggle in api14-15 (#119)
src/org/koreader/launcher/MainActivity.java
unbreak fullscreen toggle in api14-15 (#119)
<ide><path>rc/org/koreader/launcher/MainActivity.java <ide> return screen.getScreenWidth(); <ide> } <ide> <add> public int getStatusBarHeight() { <add> return screen.getStatusBarHeight(); <add> } <add> <ide> public int isFullscreen() { <ide> return screen.isFullscreen(); <ide> ...
Java
apache-2.0
a3daab37e99fa18fe5235c9bc756de28b3eeaad6
0
dldinternet/resty-gwt,cguillot/resty-gwt,Armageddon-/resty-gwt,BiovistaInc/resty-gwt,dldinternet/resty-gwt,paul-duffy/resty-gwt,resty-gwt/resty-gwt,Armageddon-/resty-gwt,Armageddon-/resty-gwt,ibaca/resty-gwt,cguillot/resty-gwt,cguillot/resty-gwt,BiovistaInc/resty-gwt,BiovistaInc/resty-gwt,ibaca/resty-gwt,paul-duffy/res...
/** * Copyright (C) 2009-2010 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
restygwt/src/main/java/org/fusesource/restygwt/client/Method.java
/** * Copyright (C) 2009-2010 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
Add support for receiving a Json Array as an Overlay Object
restygwt/src/main/java/org/fusesource/restygwt/client/Method.java
Add support for receiving a Json Array as an Overlay Object
<ide><path>estygwt/src/main/java/org/fusesource/restygwt/client/Method.java <ide> protected T parseResult() throws Exception { <ide> try { <ide> JSONValue val = JSONParser.parse(response.getText()); <del> if (val.isObject() == null) { <a...
Java
apache-2.0
07c5a3dd48785eeed1672bb30d742007a4ede2f2
0
mikosik/smooth-build,mikosik/smooth-build
package org.smoothbuild.builtin.java; import static org.smoothbuild.fs.base.Path.path; import java.io.IOException; import org.junit.Ignore; import org.junit.Test; import org.smoothbuild.builtin.java.junit.JunitTestFailedError; import org.smoothbuild.fs.base.Path; import org.smoothbuild.integration.IntegrationTestCas...
src/test-integration/org/smoothbuild/builtin/java/JunitSmoothTest.java
package org.smoothbuild.builtin.java; import static org.smoothbuild.fs.base.Path.path; import java.io.IOException; import org.junit.Ignore; import org.junit.Test; import org.smoothbuild.builtin.java.junit.JunitTestFailedError; import org.smoothbuild.fs.base.Path; import org.smoothbuild.integration.IntegrationTestCas...
refactored JunitSmoothTest
src/test-integration/org/smoothbuild/builtin/java/JunitSmoothTest.java
refactored JunitSmoothTest
<ide><path>rc/test-integration/org/smoothbuild/builtin/java/JunitSmoothTest.java <ide> import org.smoothbuild.fs.base.Path; <ide> import org.smoothbuild.integration.IntegrationTestCase; <ide> import org.smoothbuild.testing.parse.ScriptBuilder; <del>import org.smoothbuild.testing.type.impl.FakeFile; <ide> <ide> // TODO...
JavaScript
mit
0b83fce3a415f5a28981aca98d78870c6aa87291
0
derektliu/Picky-Notes,derektliu/Picky-Notes,folksy-squid/Picky-Notes,inspiredtolive/Picky-Notes,derektliu/Picky-Notes,inspiredtolive/Picky-Notes,folksy-squid/Picky-Notes,inspiredtolive/Picky-Notes,folksy-squid/Picky-Notes
/*jshint esversion: 6 */ const createSocketRoom = (hostId, pathUrl, cb) => { // this is if server is localhost var socket = io(); // if server is not localhost, // then set up io to know where the server is socket.emit('create room', pathUrl, hostId); socket.on('create room success', function(){ console...
client/src/reducers/roomReducers.js
/*jshint esversion: 6 */ const createSocketRoom = (hostId, pathUrl, cb) => { // this is if server is localhost var socket = io(); // if server is not localhost, // then set up io to know where the server is socket.emit('create room', pathUrl, hostId); socket.on('create room success', function(){ console...
Create Socket Room set up
client/src/reducers/roomReducers.js
Create Socket Room set up
<ide><path>lient/src/reducers/roomReducers.js <ide> state.socket = null; <ide> } <ide> <add> var createSocketRoom = (hostId, pathUrl) => { <add> var socket = io(); <add> socket.emit('create room', pathUrl, hostId); <add> return socket; <add> }; <add> <add> if (action.type === 'JOIN_SOCKET_ROOM'){ <ad...
Java
agpl-3.0
4194df52adf579f969b2c6a324a65ad10f2361e6
0
clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile
/* * This program is part of the OpenLMIS logistics management information * system platform software. * * Copyright © 2015 ThoughtWorks, Inc. * * 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 Softwar...
app/src/main/java/org/openlmis/core/view/widget/MMIARegimeList.java
/* * This program is part of the OpenLMIS logistics management information * system platform software. * * Copyright © 2015 ThoughtWorks, Inc. * * 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 Softwar...
ZS - #219- fix bug when refresh view need refresh edittext list
app/src/main/java/org/openlmis/core/view/widget/MMIARegimeList.java
ZS - #219- fix bug when refresh view need refresh edittext list
<ide><path>pp/src/main/java/org/openlmis/core/view/widget/MMIARegimeList.java <ide> private Context context; <ide> private TextView totalView; <ide> private List<RegimenItem> dataList; <del> private List<EditText> editTexts = new ArrayList<>(); <add> private List<EditText> editTexts; <ide> private...
Java
apache-2.0
0e79093b651cbc7c11124702f20c5dff7a467992
0
google/startup-os,google/startup-os,google/startup-os,google/startup-os,google/startup-os,google/startup-os
/* * Copyright 2018 The StartupOS Authors. * * 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...
common/flags/Flag.java
/* * Copyright 2018 The StartupOS Authors. * * 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...
Specify which flag was not supplied
common/flags/Flag.java
Specify which flag was not supplied
<ide><path>ommon/flags/Flag.java <ide> prevValue, value)); <ide> } <ide> if (required && value.equals(Flags.getDefaultFlagValue(name))) { <del> throw new IllegalArgumentException("Argument is required but was not supplied"); <add> throw new IllegalArgumentException( <add> String...
Java
apache-2.0
ba431d8ad472a7bd62cb707bb4b8eb9e417fea13
0
masbog/ios-driver,crashlytics/ios-driver,adataylor/ios-driver,seem-sky/ios-driver,adataylor/ios-driver,ios-driver/ios-driver,crashlytics/ios-driver,darraghgrace/ios-driver,shutkou/ios-driver,adataylor/ios-driver,azaytsev/ios-driver,shutkou/ios-driver,crashlytics/ios-driver,azaytsev/ios-driver,darraghgrace/ios-driver,az...
/* * Copyright 2012 ios-driver committers. * * 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 agr...
client/src/main/java/org/uiautomation/ios/client/uiamodels/impl/RemoteUIAElement.java
/* * Copyright 2012 ios-driver committers. * * 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 agr...
removing the client side timeout handling
client/src/main/java/org/uiautomation/ios/client/uiamodels/impl/RemoteUIAElement.java
removing the client side timeout handling
<ide><path>lient/src/main/java/org/uiautomation/ios/client/uiamodels/impl/RemoteUIAElement.java <ide> return getObject(WebDriverLikeCommand.VALUE); <ide> } <ide> <del> // TODO freynaud <del> private final long timeout = 30000; <ide> <ide> @Override <ide> public <T> T findElement(Class<T> type, Criteria c)...
Java
mit
05a2f34613aac5cebdde02f31d614549acdb2788
0
ihongs/HongsCORE.new,ihongs/HongsCORE.new,ihongs/HongsCORE.new,ihongs/HongsCORE.new,ihongs/HongsCORE.new
package io.github.ihongs.serv.matrix; import io.github.ihongs.Cnst; import io.github.ihongs.Core; import io.github.ihongs.HongsException; import io.github.ihongs.action.ActionHelper; import io.github.ihongs.action.FormSet; import io.github.ihongs.action.NaviMap; import io.github.ihongs.db.DB; import io.github.ihongs.d...
hongs-serv-matrix/src/main/java/io/github/ihongs/serv/matrix/Form.java
package io.github.ihongs.serv.matrix; import io.github.ihongs.Cnst; import io.github.ihongs.Core; import io.github.ihongs.HongsException; import io.github.ihongs.action.ActionHelper; import io.github.ihongs.action.FormSet; import io.github.ihongs.action.NaviMap; import io.github.ihongs.db.DB; import io.github.ihongs.d...
为 word 增加高级解析功能
hongs-serv-matrix/src/main/java/io/github/ihongs/serv/matrix/Form.java
为 word 增加高级解析功能
<ide><path>ongs-serv-matrix/src/main/java/io/github/ihongs/serv/matrix/Form.java <ide> flds.add(Synt.mapOf( <ide> "__name__", "name", <ide> "__type__", "hidden", <del> "lucene-type", "stored", <del> "readonly", "true" <add> ...
Java
apache-2.0
d3ff62ba257b5964fd8e4acfd40de7e68d707bef
0
xxxllluuu/uavstack,xxxllluuu/uavstack,xxxllluuu/uavstack,xxxllluuu/uavstack,xxxllluuu/uavstack
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
com.creditease.uav.logging/src/main/java/com/creditease/agent/log/PLogger.java
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
code format
com.creditease.uav.logging/src/main/java/com/creditease/agent/log/PLogger.java
code format
<ide><path>om.creditease.uav.logging/src/main/java/com/creditease/agent/log/PLogger.java <ide> this.consoleHandler.setFormatter(new DefaultLogFormatter()); <ide> } <ide> log.addHandler(this.consoleHandler); <del> isEnableConsoleOutSus = true; <add> isEnableConsoleOut...
Java
apache-2.0
f6932f19b0f4579e0a485e8b7bf5075137c4af79
0
TiVo/intellij-haxe,HaxeFoundation/intellij-haxe,winmain/intellij-haxe,TiVo/intellij-haxe,winmain/intellij-haxe,EricBishton/intellij-haxe,HaxeFoundation/intellij-haxe,HaxeFoundation/intellij-haxe,eliasku/intellij-haxe,eliasku/intellij-haxe,eliasku/intellij-haxe,EricBishton/intellij-haxe,winmain/intellij-haxe,TiVo/intell...
/* * Copyright 2000-2013 JetBrains s.r.o. * Copyright 2014-2014 AS3Boyan * Copyright 2014-2014 Elias Ku * Copyright 2018 Ilya Malanin * Copyright 2018 Eric Bishton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
src/common/com/intellij/plugins/haxe/ide/folding/HaxeFoldingBuilder.java
/* * Copyright 2000-2013 JetBrains s.r.o. * Copyright 2014-2014 AS3Boyan * Copyright 2014-2014 Elias Ku * Copyright 2018 Ilya Malanin * Copyright 2018 Eric Bishton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
Add C#-style region markers as well.
src/common/com/intellij/plugins/haxe/ide/folding/HaxeFoldingBuilder.java
Add C#-style region markers as well.
<ide><path>rc/common/com/intellij/plugins/haxe/ide/folding/HaxeFoldingBuilder.java <ide> "^}"+WS+"?end"+WS+"*region("+WS+"*(.*))?$", <ide> (matcher)->matcher.group(1)); <ide> ...
Java
lgpl-2.1
6acb94efcf821aec68041056ccee14e2d376f00f
0
xtremexp/UT4Converter
package org.xtx.ut4converter.t3d; import org.xtx.ut4converter.MapConverter; import org.xtx.ut4converter.tools.Geometry; public class T3DTrigger extends T3DBrush { private Boolean bInitiallyActive; private Boolean bTriggerOnceOnly; private String classProximityType; private Float damageThreshold; priv...
src/main/java/org/xtx/ut4converter/t3d/T3DTrigger.java
package org.xtx.ut4converter.t3d; import org.xtx.ut4converter.MapConverter; import org.xtx.ut4converter.tools.Geometry; public class T3DTrigger extends T3DBrush { Boolean bInitiallyActive; Boolean bTriggerOnceOnly; String classProximityType; Float damageThreshold; Float repeatTriggerTime; Float reR...
[u2] - fix TT_USE not supported
src/main/java/org/xtx/ut4converter/t3d/T3DTrigger.java
[u2] - fix TT_USE not supported
<ide><path>rc/main/java/org/xtx/ut4converter/t3d/T3DTrigger.java <ide> <ide> public class T3DTrigger extends T3DBrush { <ide> <del> Boolean bInitiallyActive; <del> Boolean bTriggerOnceOnly; <del> String classProximityType; <del> Float damageThreshold; <del> Float repeatTriggerTime; <del> Float reRriggerDelay = 1f; <d...
Java
apache-2.0
8b505135732895c100a6259f4771ac550ea002ea
0
tl-its-umich-edu/sakai,tl-its-umich-edu/sakai,duke-compsci290-spring2016/sakai,Fudan-University/sakai,whumph/sakai,joserabal/sakai,introp-software/sakai,lorenamgUMU/sakai,buckett/sakai-gitflow,rodriguezdevera/sakai,clhedrick/sakai,conder/sakai,puramshetty/sakai,ouit0408/sakai,lorenamgUMU/sakai,introp-software/sakai,int...
/* * Copyright (c) 2003, 2004 The Regents of the University of Michigan, Trustees of Indiana University, * Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation * * Licensed under the Educational Community License Version 1.0 (the "License"); * By obtaining, using an...
samigo/tool/src/java/org/sakaiproject/tool/assessment/ui/bean/delivery/DeliveryBean.java
/* * Copyright (c) 2003, 2004 The Regents of the University of Michigan, Trustees of Indiana University, * Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation * * Licensed under the Educational Community License Version 1.0 (the "License"); * By obtaining, using an...
SAK-1781 - goto the 1st question when after users hit Begin Assessment This is a change of spec git-svn-id: 840349cbf2a7f44860f6cfd02374235b623e9bf9@4329 66ffb92e-73f9-0310-93c1-f5514f145a0a
samigo/tool/src/java/org/sakaiproject/tool/assessment/ui/bean/delivery/DeliveryBean.java
SAK-1781 - goto the 1st question when after users hit Begin Assessment This is a change of spec
<ide><path>amigo/tool/src/java/org/sakaiproject/tool/assessment/ui/bean/delivery/DeliveryBean.java <ide> if (password.equals(getSettings().getPassword()) && <ide> username.equals(getSettings().getUsername())) <ide> { <del> if (getNavigation().equals <del> (AssessmentAccessControl.RANDOM_AC...
Java
apache-2.0
c653316fee3d911bfb0332bd69b7300a1a80dd0d
0
yangfuhai/jboot,yangfuhai/jboot
/** * Copyright (c) 2015-2019, Michael Yang 杨福海 (fuhai999@gmail.com). * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * U...
src/main/java/io/jboot/support/swagger/JbootSwaggerController.java
/** * Copyright (c) 2015-2019, Michael Yang 杨福海 (fuhai999@gmail.com). * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * U...
fixed: 修复swaggerui中index.html中css,js,json资源路径错误的bug
src/main/java/io/jboot/support/swagger/JbootSwaggerController.java
fixed: 修复swaggerui中index.html中css,js,json资源路径错误的bug
<ide><path>rc/main/java/io/jboot/support/swagger/JbootSwaggerController.java <ide> return; <ide> } <ide> <del> <del> String jsonUrl = getRequest().getRequestURL().toString() + "/json"; <del> String basePath = JFinal.me().getContextPath() + "/" + config.getPath() + "/"; <add> //...
Java
apache-2.0
41e57abd4d970b039ee845931e3c73a00cfbcc00
0
omindu/carbon-identity-framework,omindu/carbon-identity-framework,wso2/carbon-identity-framework,wso2/carbon-identity-framework,omindu/carbon-identity-framework,wso2/carbon-identity-framework,omindu/carbon-identity-framework,wso2/carbon-identity-framework
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/config/model/graph/js/JsAuthenticationContext.java
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
Fix: JS context.response returns the HttpRequest, instead of response.
components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/config/model/graph/js/JsAuthenticationContext.java
Fix: JS context.response returns the HttpRequest, instead of response.
<ide><path>omponents/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/config/model/graph/js/JsAuthenticationContext.java <ide> .getParameter(FrameworkConstants.RequestAttribute.HTTP_...
Java
bsd-3-clause
24057be617a9587dfe938030e8f02ad11cba2a41
0
JosephCottam/AbstractRendering,ahmadia/AbstractRendering,JosephCottam/AbstractRendering,JosephCottam/AbstractRendering,ahmadia/AbstractRendering,ahmadia/AbstractRendering,ahmadia/AbstractRendering,ahmadia/AbstractRendering,JosephCottam/AbstractRendering,JosephCottam/AbstractRendering
package ar.app.display; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.Shape; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.Mo...
AbstractRendering/app/ar/app/display/OverlayHost.java
package ar.app.display; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; impo...
Overlay selection region tracks dataspace.
AbstractRendering/app/ar/app/display/OverlayHost.java
Overlay selection region tracks dataspace.
<ide><path>bstractRendering/app/ar/app/display/OverlayHost.java <ide> import java.awt.Graphics; <ide> import java.awt.Graphics2D; <ide> import java.awt.Rectangle; <add>import java.awt.Shape; <ide> import java.awt.event.ActionEvent; <ide> import java.awt.event.ActionListener; <ide> import java.awt.event.MouseEvent; <ide...
Java
apache-2.0
31dbd1508a7157f5c239ff7aee5ade171435c53f
0
robin13/elasticsearch,uschindler/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,robin13/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,HonzaKral/elasticsearch,scorpionvicky/elasticsearch,nknize/elasticsearch,coding0011/elasticsearch,HonzaKral/elasticsearch,GlenRSmith/elasticsearch,nkn...
/* * 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.dataframe.checkpoint; import org.elasticsear...
x-pack/plugin/data-frame/src/test/java/org/elasticsearch/xpack/dataframe/checkpoint/DataFrameTransformsCheckpointServiceTests.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.dataframe.checkpoint; import org.elasticsear...
[ML] addressing test failure (#40701) * [ML] Fixing test * adjusting line lengths * marking valid seqno as final
x-pack/plugin/data-frame/src/test/java/org/elasticsearch/xpack/dataframe/checkpoint/DataFrameTransformsCheckpointServiceTests.java
[ML] addressing test failure (#40701)
<ide><path>-pack/plugin/data-frame/src/test/java/org/elasticsearch/xpack/dataframe/checkpoint/DataFrameTransformsCheckpointServiceTests.java <ide> } <ide> } <ide> <del> @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/40368") <ide> public void testExtractIndexCheckpointsInconsist...
JavaScript
mit
2ce8a39d380b447a33b49b71635a786a96654746
0
arunoda/meteor-smart-collections,arunoda/meteor-smart-collections
laika/tests/queue_invalidator.js
var assert = require('assert'); global._ = require('../../node_modules/underscore'); require('./loader')('lib/queue_invalidator'); suite('Queue Invalidator', function() { test('insert', function(done) { var qi = new Meteor.SmartQueueInvalidator({ insert: function(id, doc) { assert.equal(id, 'id1');...
removed queue invalidator tests
laika/tests/queue_invalidator.js
removed queue invalidator tests
<ide><path>aika/tests/queue_invalidator.js <del>var assert = require('assert'); <del>global._ = require('../../node_modules/underscore'); <del>require('./loader')('lib/queue_invalidator'); <del> <del>suite('Queue Invalidator', function() { <del> test('insert', function(done) { <del> var qi = new Meteor.SmartQueueIn...
JavaScript
mit
cbecf0c7fb4dcbef1a65b098df5732fef82358f1
0
tilmanjusten/grunt-partial-extract,tilmanjusten/grunt-partial-extract
/* * grunt-partial-extract * https://github.com/tilmanjusten/grunt-partial-extract * * Copyright (c) 2015 Tilman Justen * Licensed under the MIT license. */ 'use strict'; module.exports = function (grunt) { // Please see the Grunt documentation for more information regarding task // creation: http://gr...
tasks/partial_extract.js
/* * grunt-partial-extract * https://github.com/tilmanjusten/grunt-partial-extract * * Copyright (c) 2015 Tilman Justen * Licensed under the MIT license. */ 'use strict'; module.exports = function (grunt) { // Please see the Grunt documentation for more information regarding task // creation: http://gr...
Count unique blocks
tasks/partial_extract.js
Count unique blocks
<ide><path>asks/partial_extract.js <ide> length: 0, <ide> items: [] <ide> }; <add> var uniqueBlocks = []; <ide> <ide> // Iterate over all specified file groups. <ide> this.files.forEach(function (file) { <ide> // init inventory object <ide> ...
JavaScript
mit
7893dba6becdde1ef9819291f618136a8b9e1c85
0
tgriesser/graphql-js,gabelevi/graphql-js,graphql/graphql-js,baer/graphql-js,enaqx/graphql-js,gabelevi/graphql-js,baer/graphql-js,jjergus/graphql-js,enaqx/graphql-js,graphql/graphql-js,enaqx/graphql-js,jjergus/graphql-js,tgriesser/graphql-js,graphql/graphql-js
/* @flow */ /** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ i...
src/type/definition.js
/* @flow */ /** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ i...
Use a hashmap instead of array find
src/type/definition.js
Use a hashmap instead of array find
<ide><path>rc/type/definition.js <ide> 'Must provide Array of types or a function which returns ' + <ide> `such an array for Union ${unionType.name}.` <ide> ); <del> const seenObjectNames = []; <add> const includedTypeNames = {}; <ide> types.forEach(objType => { <ide> invariant( <ide> objType in...
JavaScript
apache-2.0
88449b18d1f9ba567db72e71827a68ed39f3685e
0
unicef/un-partner-portal,unicef/un-partner-portal,unicef/un-partner-portal,unicef/un-partner-portal
/* eslint-disable camelcase */ import { combineReducers } from 'redux'; import R from 'ramda'; import cfeiDetailsStatus, { loadCfeiDetailStarted, loadCfeiDetailEnded, loadCfeiDetailSuccess, loadCfeiDetailFailure, loadUCNDetailSuccess, LOAD_CFEI_DETAIL_SUCCESS, LOAD_UCN_DETAIL_SUCCESS, } from './cfeiDetail...
frontend/src/reducers/cfeiDetails.js
/* eslint-disable camelcase */ import { combineReducers } from 'redux'; import R from 'ramda'; import cfeiDetailsStatus, { loadCfeiDetailStarted, loadCfeiDetailEnded, loadCfeiDetailSuccess, loadCfeiDetailFailure, loadUCNDetailSuccess, LOAD_CFEI_DETAIL_SUCCESS, LOAD_UCN_DETAIL_SUCCESS, } from './cfeiDetail...
missing ingo field
frontend/src/reducers/cfeiDetails.js
missing ingo field
<ide><path>rontend/src/reducers/cfeiDetails.js <ide> const newUCN = { <ide> id: ucn.id, <ide> partner_name: ucn.partner.id, <del> display_type: 1, <add> display_type: ucn.partner.display_type, <ide> title: R.path(['proposal_of_eoi_details', 'title'], ucn), <ide> locations: ucn.locations_proposal...
JavaScript
mit
8235376c3e461ec5ed8e5a907285f9e3480ea039
0
fent/node-kat
var Readable = require('readable-stream').Readable; var util = require('util'); var fs = require('fs'); var path = require('path'); var Queue = require('./queue'); /** * @constructor * @extends {Readable} * @param {String|Readable|Stream} file... List of files to add * when initiating. * @para...
lib/index.js
var Readable = require('readable-stream').Readable; var util = require('util'); var fs = require('fs'); var path = require('path'); var Queue = require('./queue'); /** * @constructor * @extends {Readable} * @param {String|Readable|Stream} file... List of files to add * when initiating. * @para...
check `fs.ReadStream#close()` method exists before calling for node v0.8
lib/index.js
check `fs.ReadStream#close()` method exists before calling for node v0.8
<ide><path>ib/index.js <ide> <ide> var self = this; <ide> var filepath = stream.path || this._totalFiles++; <add> <add> // Wether this stream is a file or not. Not set by openQueue because <add> // of the possibility of directly adding a `fs.ReadStream`. <ide> var isFile = stream instanceof fs.ReadStream; <ide...
Java
apache-2.0
7b93b47af89e030d23e608ae3268845c92ead489
0
wskplho/jdroid,wskplho/jdroid,wskplho/jdroid
package com.jdroid.android.contextual; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import com.jdroid.android.ActivityLauncher; import com.jdroid.android.R; import com.jdroid.android.activity.A...
jdroid-android/src/main/java/com/jdroid/android/contextual/ContextualActivity.java
package com.jdroid.android.contextual; import java.util.List; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import com.jdroid.android.ActivityLauncher; import com.jdroid.android.R; import com.jdroid.android.activity.AbstractFragmentActivity; import...
Added onNewIntent support to contextual activity
jdroid-android/src/main/java/com/jdroid/android/contextual/ContextualActivity.java
Added onNewIntent support to contextual activity
<ide><path>droid-android/src/main/java/com/jdroid/android/contextual/ContextualActivity.java <ide> package com.jdroid.android.contextual; <ide> <ide> import java.util.List; <add>import android.content.Intent; <ide> import android.os.Bundle; <ide> import android.support.v4.app.Fragment; <ide> import android.support.v4....
Java
apache-2.0
e564042c81a9678e60b6fd5211b61cdbd2865531
0
kuali/rice-playground,kuali/rice-playground,kuali/rice-playground,ricepanda/rice-git3,kuali/rice-playground,ricepanda/rice-git2,ricepanda/rice-git3,ricepanda/rice-git2,ricepanda/rice-git3,ricepanda/rice-git3,ricepanda/rice-git2,ricepanda/rice-git2
/* * Copyright 2007 The Kuali Foundation * * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php * * Unless required b...
krad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/util/ExpressionUtils.java
/* * Copyright 2007 The Kuali Foundation * * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php * * Unless required b...
Small fix for expression evaluator git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@22316 7a7aa7f6-c479-11dc-97e2-85a2497f191d
krad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/util/ExpressionUtils.java
Small fix for expression evaluator
<ide><path>rad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/util/ExpressionUtils.java <ide> stack = stack + c; <ide> ignoreNext = false; <ide> } <add> } <add> <add> if(StringUtils.isNotEmpty(stack)){ <add> evaluateCurrentStack(stack.trim(),...
Java
mit
c5d992f2d5f867feb16af0bac8d2a88ca71aef2e
0
ganthore/docker-workflow-plugin,ganthore/docker-workflow-plugin,ganthore/docker-workflow-plugin
/* * The MIT License * * Copyright 2015 CloudBees, Inc. * * 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 use, copy, ...
multibranch/src/main/java/org/jenkinsci/plugins/workflow/multibranch/WorkflowMultiBranchProject.java
/* * The MIT License * * Copyright 2015 CloudBees, Inc. * * 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 use, copy, ...
Adapted to upstream being on only 1.580.x.
multibranch/src/main/java/org/jenkinsci/plugins/workflow/multibranch/WorkflowMultiBranchProject.java
Adapted to upstream being on only 1.580.x.
<ide><path>ultibranch/src/main/java/org/jenkinsci/plugins/workflow/multibranch/WorkflowMultiBranchProject.java <ide> <ide> import hudson.Extension; <ide> import hudson.model.ItemGroup; <add>import hudson.model.Queue; <ide> import hudson.model.TaskListener; <ide> import hudson.model.TopLevelItem; <ide> import hudson.sc...
Java
apache-2.0
696da8b94232a77dc419892ef8028954bada5934
0
fbk/utils
/* * Copyright (2010) Fondazione Bruno Kessler (FBK) * * FBK reserves all rights in the Program as delivered. * The Program or any portion thereof may not be reproduced * in any form whatsoever except as provided by license * without the written consent of FBK. A license under FBK's * rights in the Program may...
utils-math/src/main/java/eu/fbk/utils/math/DenseVector.java
/* * Copyright (2010) Fondazione Bruno Kessler (FBK) * * FBK reserves all rights in the Program as delivered. * The Program or any portion thereof may not be reproduced * in any form whatsoever except as provided by license * without the written consent of FBK. A license under FBK's * rights in the Program may...
Fixed issue #4
utils-math/src/main/java/eu/fbk/utils/math/DenseVector.java
Fixed issue #4
<ide><path>tils-math/src/main/java/eu/fbk/utils/math/DenseVector.java <ide> int i = 0; <ide> while (it2.hasNext()) { <ide> i = it2.next(); <del> m.add(i + v.size(), v.get(i)); <add> m.add(i + size(), v.get(i)); <ide> } // end while <ide> <ide> return m;...
JavaScript
mit
0e4b24156a94ec73cf0a39d624af8897d0cd5c1b
0
brrd/electron-tabs
if (!document) { throw Error("electron-tabs module must be called in renderer process"); } // Inject styles (function () { const styles = ` webview { display: flex; flex: 0 1; width: 0px; height: 0px; } webview.visible { width:...
index.js
if (!document) { throw Error("electron-tabs module must be called in renderer process"); } // Inject styles (function () { const styles = ` webview { display: flex; flex: 0 1; width: 0px; height: 0px; } webview.visible { width:...
Support iconURL
index.js
Support iconURL
<ide><path>ndex.js <ide> this.iconURL = args.iconURL; <ide> this.webviewAttributes = args.webviewAttributes || {}; <ide> this.webviewAttributes.src = args.src; <add> this.tabElements = {}; <ide> this.initTab(); <ide> this.initWebview(); <ide> } <ide> <ide> initTab...
Java
bsd-3-clause
daa07c3eb0eea04da7e84a7423449d9369004793
0
Tiger66639/choco3,chocoteam/choco3,chocoteam/choco3,cp-profiler/choco3,cp-profiler/choco3,piyushsh/choco3,piyushsh/choco3,chocoteam/choco3,PhilAndrew/choco3gwt,piyushsh/choco3,cp-profiler/choco3,cp-profiler/choco3,PhilAndrew/choco3gwt,chocoteam/choco3,Tiger66639/choco3,piyushsh/choco3,PhilAndrew/choco3gwt,Tiger66639/ch...
/** * Copyright (c) 1999-2011, Ecole des Mines de Nantes * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * ...
solver/src/main/java/solver/recorders/coarse/CoarseEventRecorder.java
/** * Copyright (c) 1999-2011, Ecole des Mines de Nantes * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * ...
CoarseEvent fix bug see Issue #36 unfreeze all fine event (even those which are not scheduled)
solver/src/main/java/solver/recorders/coarse/CoarseEventRecorder.java
CoarseEvent fix bug
<ide><path>olver/src/main/java/solver/recorders/coarse/CoarseEventRecorder.java <ide> import solver.Solver; <ide> import solver.constraints.propagators.Propagator; <ide> import solver.exception.ContradictionException; <del>import solver.recorders.IEventRecorder; <del>import solver.recorders.fine.AbstractFineEventRecord...
Java
apache-2.0
08242084915d00f543d7d24220876d1a7f476630
0
Shashikanth-Huawei/bmp,maheshraju-Huawei/actn,opennetworkinglab/onos,gkatsikas/onos,lsinfo3/onos,Shashikanth-Huawei/bmp,y-higuchi/onos,kuujo/onos,donNewtonAlpha/onos,opennetworkinglab/onos,mengmoya/onos,oplinkoms/onos,gkatsikas/onos,Shashikanth-Huawei/bmp,donNewtonAlpha/onos,osinstom/onos,lsinfo3/onos,osinstom/onos,kuu...
/* * Copyright 2015 Open Networking Laboratory * * 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 la...
apps/dhcp/app/src/main/java/org/onosproject/dhcp/impl/DistributedDhcpStore.java
/* * Copyright 2015 Open Networking Laboratory * * 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 la...
ONOS-3549 Fixed NPE during renew for rangeNotEnforced IP Added renew case for IP assigned with rangeNotEnforced option. Addresses ONOS-3549 Change-Id: I6cb43f662332f0d461889d32659f1252ea436102
apps/dhcp/app/src/main/java/org/onosproject/dhcp/impl/DistributedDhcpStore.java
ONOS-3549 Fixed NPE during renew for rangeNotEnforced IP
<ide><path>pps/dhcp/app/src/main/java/org/onosproject/dhcp/impl/DistributedDhcpStore.java <ide> import org.onlab.packet.Ip4Address; <ide> import org.onlab.packet.MacAddress; <ide> import org.onlab.util.KryoNamespace; <add>import org.onlab.util.Tools; <ide> import org.onosproject.dhcp.DhcpStore; <ide> import org.onospro...
JavaScript
apache-2.0
885178abf0c93c99fabc4625536afd6dd4b62fc3
0
usc-isi-i2/Web-Karma,usc-isi-i2/Web-Karma,sylvanmist/Web-Karma,usc-isi-i2/Web-Karma,sylvanmist/Web-Karma,rpiotti/Web-Karma,rpiotti/Web-Karma,usc-isi-i2/Web-Karma,sylvanmist/Web-Karma,rpiotti/Web-Karma,sylvanmist/Web-Karma,usc-isi-i2/Web-Karma,rpiotti/Web-Karma,rpiotti/Web-Karma,sylvanmist/Web-Karma
/** * @author Shubham Gupta */ function parse(data) { $.workspaceGlobalInformation = { "id" : data["workspaceId"] } $.each(data["elements"], function(i, element){ /* Update the worksheet list */ if(element["updateType"] == "WorksheetListUpdate") { $.each(element["worksheets"], function(j, workshee...
src/main/webapp/js/ServerResponseObjectParsing.js
/** * @author Shubham Gupta */ function parse(data) { $.workspaceGlobalInformation = { "id" : data["workspaceId"] } $.each(data["elements"], function(i, element){ /* Update the worksheet list */ if(element["updateType"] == "WorksheetListUpdate") { $.each(element["worksheets"], function(j, workshee...
Table shows the full value in the cell
src/main/webapp/js/ServerResponseObjectParsing.js
Table shows the full value in the cell
<ide><path>rc/main/webapp/js/ServerResponseObjectParsing.js <ide> console.log("Value not found in a content cell!"); <ide> //tdTag.text(cell["value"]); <ide> if(cell["value"] != null){ <del> var valueToShow = ""; <del> if(cell["value"].length > 25) { <del> valueToShow = cell["value...
Java
apache-2.0
4a418acdb0bb0743dc840d172071b461173fc985
0
kantega/Flyt-cms,kantega/Flyt-cms,kantega/Flyt-cms
/* * Copyright 2009 Kantega AS * * 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...
modules/commons/src/java/no/kantega/commons/util/URLHelper.java
/* * Copyright 2009 Kantega AS * * 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...
AP-1915 :: URLHelper should return actual client requested URL git-svn-id: 8def386c603904b39326d3fc08add479b8279298@5795 fd808399-8219-4f14-9d4c-37719d9ec93d
modules/commons/src/java/no/kantega/commons/util/URLHelper.java
AP-1915 :: URLHelper should return actual client requested URL
<ide><path>odules/commons/src/java/no/kantega/commons/util/URLHelper.java <ide> return sb.toString(); <ide> } <ide> <add> /** <add> * Returns the actual URL requested by the client <add> * @param request <add> * @return String URL requested by client <add> */ <ide> public static Stri...
Java
mit
ff629f7243998484c88b9b08fd0d955cf8af6673
0
SmyDev/OSBot-FlaxSpinner
package com.smy.flax.tasks; import com.smy.flax.Task; import org.osbot.rs07.api.model.Player; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.MethodProvider; import java.util.List; public class AntiBanTask extends Task { private long lastOutOfScreen; public AntiBanTask(MethodProvide...
src/com/smy/flax/tasks/AntiBanTask.java
package com.smy.flax.tasks; import com.smy.flax.Task; import org.osbot.rs07.api.model.Player; import org.osbot.rs07.script.MethodProvider; import java.util.List; public class AntiBanTask extends Task { private long lastOutOfScreen; public AntiBanTask(MethodProvider api) { super(api); } @Ov...
Changed left click anti pattern, it will scan for objects.
src/com/smy/flax/tasks/AntiBanTask.java
Changed left click anti pattern, it will scan for objects.
<ide><path>rc/com/smy/flax/tasks/AntiBanTask.java <ide> <ide> import com.smy.flax.Task; <ide> import org.osbot.rs07.api.model.Player; <add>import org.osbot.rs07.api.model.RS2Object; <ide> import org.osbot.rs07.script.MethodProvider; <ide> <ide> import java.util.List; <ide> int rnd = MethodProvider.random(0,2)...
Java
mit
4a390fead5f35d12e4178185f63c8b2cfa53e25a
0
AmadouSallah/Programming-Interview-Questions,AmadouSallah/Programming-Interview-Questions
public class QuickSort { public static int[] quickSort(int[] arr) { quickSort(arr, 0, arr.length - 1); return arr; } private static void quickSort(int[] arr, int start, int end) { if (start >= end) { return; } int pivotIndex = partition(arr, start, end); quickSort(arr, start, pivot...
Data_Structures_And_Algorithms/SortingAndSearch/QuickSort.java
public class QuickSort { public static int[] quickSort(int[] arr) { quickSort(arr, 0, arr.length - 1); return arr; } private static void quickSort(int[] arr, int start, int end) { if (start >= end) { return; } int pivotIndex = partition(arr, start, end); quickSort(arr, start, pivot...
Updated helper methods to private for QuickSort.java
Data_Structures_And_Algorithms/SortingAndSearch/QuickSort.java
Updated helper methods to private for QuickSort.java
<ide><path>ata_Structures_And_Algorithms/SortingAndSearch/QuickSort.java <ide> quickSort(arr, pivotIndex + 1, end); <ide> } <ide> <del> public static int partition(int[] arr, int start, int end) { <add> private static int partition(int[] arr, int start, int end) { <ide> int pivotElement = arr[end], i = sta...
Java
apache-2.0
9bd53518d52ea720bb902a261904e910dd398903
0
valfirst/selenium,juangj/selenium,asashour/selenium,markodolancic/selenium,dibagga/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,valfirst/selenium,joshmgrant/selenium,krmahadevan/selenium,markodolancic/selenium,davehunt/selenium,valfirst/selenium,Dude-X/selenium,joshmgrant/selenium,bayandin/selenium,titusfortner/selen...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
java/server/src/org/openqa/selenium/server/htmlrunner/HTMLLauncher.java
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
[htmlrunner] Implementing ability to specify path to the browser in CLI
java/server/src/org/openqa/selenium/server/htmlrunner/HTMLLauncher.java
[htmlrunner] Implementing ability to specify path to the browser in CLI
<ide><path>ava/server/src/org/openqa/selenium/server/htmlrunner/HTMLLauncher.java <ide> import org.openqa.selenium.chrome.ChromeDriver; <ide> import org.openqa.selenium.edge.EdgeDriver; <ide> import org.openqa.selenium.firefox.FirefoxDriver; <add>import org.openqa.selenium.firefox.FirefoxOptions; <ide> import org.openq...
JavaScript
isc
375bdc64793c4d73f1851c60cb23b88d24a64bc2
0
moebooru/moebooru,euank/moebooru-thin,nanaya/moebooru,moebooru/moebooru,nanaya/moebooru,moebooru/moebooru,nanaya/moebooru,euank/moebooru-thin,nanaya/moebooru,euank/moebooru-thin,euank/moebooru-thin,moebooru/moebooru,nanaya/moebooru,moebooru/moebooru,euank/moebooru-thin
var DANBOORU_VERSION = { major: 1, minor: 13, build: 0 } /* If initial is true, this is a notice set by the notice cookie and not a * realtime notice from user interaction. */ function notice(msg, initial) { /* If this is an initial notice, and this screen has a dedicated notice * container other than the ...
public/javascripts/common.js
var DANBOORU_VERSION = { major: 1, minor: 13, build: 0 } /* If initial is true, this is a notice set by the notice cookie and not a * realtime notice from user interaction. */ function notice(msg, initial) { /* If this is an initial notice, and this screen has a dedicated notice * container other than the ...
mark set_login_handler on each element, not on the containing form --HG-- branch : moe extra : convert_revision : svn%3A2d28d66d-8d94-df11-8c86-00306ef368cb/trunk/moe%40421
public/javascripts/common.js
mark set_login_handler on each element, not on the containing form
<ide><path>ublic/javascripts/common.js <ide> if(!form) <ide> return; <ide> <del> if(form.set_login_handler) <del> return; <del> form.set_login_handler = true; <add> if(elem.set_login_handler) <add> return; <add> elem.set_login_handler = true; <ide> <ide> OnKey(13, { ctrlKey: true, ...
Java
bsd-3-clause
ce91300ca48f99d3fdac7959dd69128403916ac0
0
Beachbot330/Beachbot2014Java
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
src/org/usfirst/frc330/Beachbot2014Java/commands/KillAllCommands.java
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
Disable all PID also
src/org/usfirst/frc330/Beachbot2014Java/commands/KillAllCommands.java
Disable all PID also
<ide><path>rc/org/usfirst/frc330/Beachbot2014Java/commands/KillAllCommands.java <ide> // Called repeatedly when this Command is scheduled to run <ide> protected void execute() { <ide> Scheduler.getInstance().removeAll(); <add> Robot.chassis.stopDrive(); <add> Robot.arm.stopArm(); <add...
Java
mit
38ecdaf575a389f2a17586e4a6ba690159fc8ed8
0
CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main
package tars.logic.parser; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.TreeMap; /** * Tokenizes arguments string of the form: {@code preamble <...
src/main/java/tars/logic/parser/ArgumentTokenizer.java
package tars.logic.parser; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.TreeMap; /** * Tokenizes arguments string of the form: {@code prea...
Fix bug Leading and trailing whitespaces of each argument value should be discarded.
src/main/java/tars/logic/parser/ArgumentTokenizer.java
Fix bug Leading and trailing whitespaces of each argument value should be discarded.
<ide><path>rc/main/java/tars/logic/parser/ArgumentTokenizer.java <ide> package tars.logic.parser; <ide> <ide> import java.util.Arrays; <del>import java.util.Collection; <ide> import java.util.Collections; <ide> import java.util.HashMap; <ide> import java.util.HashSet; <add>import java.util.List; <ide> import java.util...
Java
mit
f779cf2221ddd436b43db985dd160bc23778568a
0
isi-nlp/tac-kbp-eal,BBN-E/tac-kbp-eal,isi-nlp/tac-kbp-eal,rgabbard-bbn/kbp-2014-event-arguments,rgabbard-bbn/kbp-2014-event-arguments,BBN-E/tac-kbp-eal
package com.bbn.kbp.events; import com.bbn.bue.common.Finishable; import com.bbn.bue.common.HasDocID; import com.bbn.bue.common.evaluation.AggregateBinaryFScoresInspector; import com.bbn.bue.common.evaluation.BinaryErrorLogger; import com.bbn.bue.common.evaluation.BinaryFScoreBootstrapStrategy; import com.bbn.bue.comm...
tac-kbp-eal-scorer/src/main/java/com/bbn/kbp/events/ScoreKBPAgainstERE.java
package com.bbn.kbp.events; import com.bbn.bue.common.Finishable; import com.bbn.bue.common.HasDocID; import com.bbn.bue.common.evaluation.AggregateBinaryFScoresInspector; import com.bbn.bue.common.evaluation.BinaryErrorLogger; import com.bbn.bue.common.evaluation.BinaryFScoreBootstrapStrategy; import com.bbn.bue.comm...
this does not need an actual assessed response
tac-kbp-eal-scorer/src/main/java/com/bbn/kbp/events/ScoreKBPAgainstERE.java
this does not need an actual assessed response
<ide><path>ac-kbp-eal-scorer/src/main/java/com/bbn/kbp/events/ScoreKBPAgainstERE.java <ide> } catch (IOException e) { <ide> throw new RuntimeException(e); <ide> } <del> for (final AssessedResponse annResponse : answerKey.annotatedResponses()) { <add> for (final Response response: answerKey...
Java
bsd-3-clause
eedd2e865dae23b063d98832d812b5081c87ed64
0
yungsters/rain-workload-toolkit,yungsters/rain-workload-toolkit,sguazt/rain-workload-toolkit,sguazt/rain-workload-toolkit,yungsters/rain-workload-toolkit,sguazt/rain-workload-toolkit
/* * Copyright (c) 2010, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright noti...
src/radlab/rain/workload/rubis/BuyNowItemOperation.java
/* * Copyright (c) 2010, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright noti...
[rubis] (bug-fix:minor) In Buy-Now operation, forgot to parse maxQty from HTML response.
src/radlab/rain/workload/rubis/BuyNowItemOperation.java
[rubis] (bug-fix:minor) In Buy-Now operation, forgot to parse maxQty from HTML response.
<ide><path>rc/radlab/rain/workload/rubis/BuyNowItemOperation.java <ide> form = new ArrayList<NameValuePair>(); <ide> form.add(new BasicNameValuePair("itemId", Integer.toString(item.id))); <ide> form.add(new BasicNameValuePair("userId", Integer.toString(loggedUser.id))); <del> int maxQty = Math.min(item.quantity,...
JavaScript
agpl-3.0
abc327e8e783aa5cd4adb49aee3d1c125e6e1c3b
0
denkbar/step,denkbar/step,denkbar/step,denkbar/step,denkbar/step
angular.module('seleniumPlugin',['step','functionsControllers']) .run(function(FunctionTypeRegistry) { //FunctionTypeRegistry.register('step.plugins.selenium.SeleniumFunction','Selenium','seleniumplugin/partials/selenium.html'); })
step-functions-plugins/step-functions-plugins-selenium/step-functions-plugins-selenium-controller-def/src/main/resources/step/plugins/selenium/webapp/js/selenium.js
angular.module('seleniumPlugin',['step','functionsControllers']) .run(function(FunctionTypeRegistry) { FunctionTypeRegistry.register('step.plugins.selenium.SeleniumFunction','Selenium','seleniumplugin/partials/selenium.html'); })
Disabling Selenium Plugin
step-functions-plugins/step-functions-plugins-selenium/step-functions-plugins-selenium-controller-def/src/main/resources/step/plugins/selenium/webapp/js/selenium.js
Disabling Selenium Plugin
<ide><path>tep-functions-plugins/step-functions-plugins-selenium/step-functions-plugins-selenium-controller-def/src/main/resources/step/plugins/selenium/webapp/js/selenium.js <ide> angular.module('seleniumPlugin',['step','functionsControllers']) <ide> <ide> .run(function(FunctionTypeRegistry) { <del> FunctionTypeRegi...
Java
apache-2.0
2f1259575f84c11948d0d461adf100a765138864
0
igorakkerman/jlib
package org.jlib.container.sequence.index.array.storage; /** * Strategy of capacity provision in a {@link LinearIndexStorage}. * * @author Igor Akkerman */ public interface LinearIndexStorageCapacityStrategy { /** * Asserts that the referenced {@link LinearIndexStorage} fits the specified ...
jlib.container/src/main/java/org/jlib/container/sequence/index/array/storage/LinearIndexStorageCapacityStrategy.java
package org.jlib.container.sequence.index.array.storage; /** * Strategy of capacity provision in a {@link LinearIndexStorage}. * * @author Igor Akkerman */ public interface LinearIndexStorageCapacityStrategy { /** * Asserts that the referenced {@link LinearIndexStorage} fits the specified ...
LinearIndexStorageCapacityStrategy: old assert methods recreated, holes renamed
jlib.container/src/main/java/org/jlib/container/sequence/index/array/storage/LinearIndexStorageCapacityStrategy.java
LinearIndexStorageCapacityStrategy: old assert methods recreated, holes renamed
<ide><path>lib.container/src/main/java/org/jlib/container/sequence/index/array/storage/LinearIndexStorageCapacityStrategy.java <ide> <ide> /** <ide> * Asserts that the referenced {@link LinearIndexStorage} fits the specified <del> * number of Items, leaving a hole of the specified size in front of the <de...
JavaScript
mit
115dce0f49076f62bdd14bf1a601b5e6254dfaf3
0
muut/riotjs,muut/riotjs
// allow to require('riot') const path = require('path'), fs = require('fs'), hasRiotPath = !!process.env.RIOT, riotPath = path.normalize(process.env.RIOT || path.join('..', '..', 'riot')), riot = require(riotPath), // simple-dom helper sdom = require('./sdom'), Module = require('module'), compiler =...
lib/server/index.js
// allow to require('riot') const path = require('path'), fs = require('fs'), hasRiotPath = !!process.env.RIOT, riotPath = path.normalize(process.env.RIOT || path.resolve(__dirname, '..', '..', 'riot')), riot = require(riotPath), // simple-dom helper sdom = require('./sdom'), Module = require('module')...
Relative Pathing and checking for require.extensions In lib/server/index.js, we use path.resolve(__dirname, '..', '..', 'riot') to access the relative path of riot.js . path.join('..', '..', 'riot') seems more appropriate for a relative path inside a module. Additionally in lib/server/index.js , we attempt to modify ...
lib/server/index.js
Relative Pathing and checking for require.extensions
<ide><path>ib/server/index.js <ide> path = require('path'), <ide> fs = require('fs'), <ide> hasRiotPath = !!process.env.RIOT, <del> riotPath = path.normalize(process.env.RIOT || path.resolve(__dirname, '..', '..', 'riot')), <add> riotPath = path.normalize(process.env.RIOT || path.join('..', '..', 'riot')), <ide...
Java
apache-2.0
85641534568372e949e5f8d40741f6453c6a08c6
0
ssaarela/javersion,ssaarela/javersion,ssaarela/javersion
/* * Copyright 2013 Samppa Saarela * * 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...
javersion-reflect/src/test/java/org/javersion/reflect/TypeDescriptorTest.java
/* * Copyright 2013 Samppa Saarela * * 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...
Full (practical) line coverage for reflection module
javersion-reflect/src/test/java/org/javersion/reflect/TypeDescriptorTest.java
Full (practical) line coverage for reflection module
<ide><path>aversion-reflect/src/test/java/org/javersion/reflect/TypeDescriptorTest.java <ide> <ide> @Test <ide> public void not_equal() { <del> assertThat(TYPES.get(Object.class)).isNotEqualTo(new Object()); <add> assertThat(TypeDescriptors.getTypeDescriptor(Object.class)).isNotEqualTo(new Object...
Java
mit
e4987c511b8e5d68c352d897ff755ff16f504119
0
fr1kin/ForgeHax,fr1kin/ForgeHax
package com.matt.forgehax.mods.services; import static com.matt.forgehax.Helper.getLocalPlayer; import com.google.common.util.concurrent.FutureCallback; import com.matt.forgehax.asm.events.PacketEvent; import com.matt.forgehax.events.ChatMessageEvent; import com.matt.forgehax.util.entity.PlayerInfo; import com.matt.f...
src/main/java/com/matt/forgehax/mods/services/ChatIdentifierService.java
package com.matt.forgehax.mods.services; import static com.matt.forgehax.Helper.getLocalPlayer; import com.google.common.util.concurrent.FutureCallback; import com.matt.forgehax.asm.events.PacketEvent; import com.matt.forgehax.events.ChatMessageEvent; import com.matt.forgehax.util.entity.PlayerInfo; import com.matt.f...
ran spotless
src/main/java/com/matt/forgehax/mods/services/ChatIdentifierService.java
ran spotless
<ide><path>rc/main/java/com/matt/forgehax/mods/services/ChatIdentifierService.java <ide> @SuppressWarnings("Duplicates") <ide> @SubscribeEvent <ide> public void onChatMessage(PacketEvent.Incoming.Pre event) { <del> if(getLocalPlayer() == null || getLocalPlayer().connection == null) <del> return; <add> ...
Java
mit
65ce2619de599d9e698507315ecfaef19a0e6db0
0
chenichadowitz/intelligent-chess-engine
package ice; import java.util.*; @SuppressWarnings("unchecked") public abstract class Board { Player whitePlayer; Player blackPlayer; protected boolean playersTurn = true; // whiteturn if true protected ArrayList<Piece> pieces = new ArrayList<Piece>(); protected LinkedList<Piece>[][] boardState = (LinkedList<Pi...
src/ice/Board.java
package ice; import java.util.*; public abstract class Board { Player whitePlayer; Player blackPlayer; protected boolean playersTurn = true; // whiteturn if true protected ArrayList<Piece> pieces = new ArrayList<Piece>(); protected LinkedList<Piece>[][] boardState = (LinkedList<Piece>[][]) new LinkedList[8][8];...
- removed type-cast warning
src/ice/Board.java
- removed type-cast warning
<ide><path>rc/ice/Board.java <ide> package ice; <ide> import java.util.*; <ide> <add>@SuppressWarnings("unchecked") <ide> public abstract class Board { <ide> Player whitePlayer; <ide> Player blackPlayer;
Java
apache-2.0
ee983ea032b533a8f7fb74736fec14e40b5caeb0
0
arquivo/functional-tests,arquivo/functional-tests
package pt.fccn.mobile.arquivo.pages; import java.net.MalformedURLException; import java.net.URL; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui....
test/pt/fccn/mobile/arquivo/pages/AdvancedSearchPage.java
package pt.fccn.mobile.arquivo.pages; import java.net.MalformedURLException; import java.net.URL; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui....
[Mobile-tests][AdvancedSearch] fixed bug
test/pt/fccn/mobile/arquivo/pages/AdvancedSearchPage.java
[Mobile-tests][AdvancedSearch] fixed bug
<ide><path>est/pt/fccn/mobile/arquivo/pages/AdvancedSearchPage.java <ide> <ide> private boolean searchSiteSearch( String inputSearch, String inputSiteSearch, String divExpandable, String buttonSearch ) { <ide> System.out.println( "[searchSiteSearch]" ); <del> <add> <ide> System.out.println...
Java
lgpl-2.1
2cfe0de71a8a7a094905cb4bbbfe4cf78d2e80f6
0
zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform
package org.zanata.search; import java.util.Collection; import java.util.List; import org.hibernate.Query; import org.hibernate.criterion.MatchMode; import org.joda.time.DateTime; import org.zanata.common.HasContents; import org.zanata.model.HLocale; import org.zanata.util.HqlCriterion; import org.zanata.util.QueryBu...
zanata-war/src/main/java/org/zanata/search/FilterConstraintToQuery.java
package org.zanata.search; import java.util.Collection; import java.util.List; import org.hibernate.Query; import org.hibernate.criterion.MatchMode; import org.joda.time.DateTime; import org.zanata.common.HasContents; import org.zanata.model.HLocale; import org.zanata.util.HqlCriterion; import org.zanata.util.QueryBu...
rhbz882770 - refactor FilterConstraintToQuery to share code
zanata-war/src/main/java/org/zanata/search/FilterConstraintToQuery.java
rhbz882770 - refactor FilterConstraintToQuery to share code
<ide><path>anata-war/src/main/java/org/zanata/search/FilterConstraintToQuery.java <ide> return new FilterConstraintToQuery(constraints, documentIds); <ide> } <ide> <add> /** <add> * This builds a query for constructing TransUnit in editor. It returns a <add> * list of HTextFlow objects <add> ...
Java
mit
f7d1a429987d2b0275eb8da9a0dc179c5407b553
0
caelum/tubaina,caelum/tubaina,caelum/tubaina,caelum/tubaina,caelum/tubaina
package br.com.caelum.tubaina.parser.latex; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.io.FilenameUtils; import br.com.caelum.tubaina.parser.Tag; public class ImageTag implements Tag { double pageWidth = 175; public String parse(final String path, final String opti...
src/main/java/br/com/caelum/tubaina/parser/latex/ImageTag.java
package br.com.caelum.tubaina.parser.latex; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.io.FilenameUtils; import br.com.caelum.tubaina.parser.Tag; public class ImageTag implements Tag { double pageWidth = 175; public String parse(final String path, final String opti...
writing label after caption tag
src/main/java/br/com/caelum/tubaina/parser/latex/ImageTag.java
writing label after caption tag
<ide><path>rc/main/java/br/com/caelum/tubaina/parser/latex/ImageTag.java <ide> String imgsrc = FilenameUtils.getName(path); <ide> output = output + "{" + imgsrc + "}\n"; <ide> <add> if (descriptionMatcher.find()) { <add> output = output + "\n\n\\caption{" + descriptionMatcher.group(1) + "}\n\n"; <add> } <add...
Java
apache-2.0
dec4a12e06865782b261b4bfb85d5f2d797c6ed5
0
apache/commons-net,apache/commons-net
/* * 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 ...
src/test/java/org/apache/commons/net/SubnetUtilsTest.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 ...
Test for invalid report
src/test/java/org/apache/commons/net/SubnetUtilsTest.java
Test for invalid report
<ide><path>rc/test/java/org/apache/commons/net/SubnetUtilsTest.java <ide> assertTrue(info.isInRange("192.168.0.15")); <ide> } <ide> <add> public void testNET679() { <add> SubnetUtils utils = new SubnetUtils("10.213.160.0/16"); <add> utils.setInclusiveHostCount(true); <add> SubnetInf...
Java
apache-2.0
e1a557e06bbd19252525305d17b28f9271d01aba
0
fcrepo4-exts/fcrepo-camel,daniel-dgi/fcrepo-camel
/** * Copyright 2014 DuraSpace, 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 agree...
src/main/java/org/fcrepo/camel/FedoraEndpoint.java
/** * Copyright 2014 DuraSpace, 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 agree...
added endpoint annotations for camel; see: http://camel.apache.org/endpoint-annotations.html
src/main/java/org/fcrepo/camel/FedoraEndpoint.java
added endpoint annotations for camel; see: http://camel.apache.org/endpoint-annotations.html
<ide><path>rc/main/java/org/fcrepo/camel/FedoraEndpoint.java <ide> import org.apache.camel.Processor; <ide> import org.apache.camel.Producer; <ide> import org.apache.camel.RuntimeCamelException; <add>import org.apache.camel.api.management.ManagedResource; <add>import org.apache.camel.api.management.ManagedAttribute; <i...
JavaScript
mit
817006d940367dc1834f12cd4a17f747ef53541e
0
notmessenger/sl-ember-components,softlayer/sl-ember-components,softlayer/sl-ember-components,notmessenger/sl-ember-components
import Ember from 'ember'; import { moduleForComponent, test } from 'ember-qunit'; import { skip } from 'qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent( 'sl-textarea', 'Integration | Component | sl textarea', { integration: true }); test( 'Default classes are applied', function( assert )...
tests/integration/components/sl-textarea-test.js
import Ember from 'ember'; import { moduleForComponent, test } from 'ember-qunit'; import { skip } from 'qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent( 'sl-textarea', 'Integration | Component | sl textarea', { integration: true }); test( 'Default classes are applied', function( assert )...
fixed strict equal assertions and fixed array test for default classes
tests/integration/components/sl-textarea-test.js
fixed strict equal assertions and fixed array test for default classes
<ide><path>ests/integration/components/sl-textarea-test.js <ide> {{/sl-textarea}} <ide> ` ); <ide> <del> assert.equal( <add> assert.strictEqual( <ide> this.$( '>:first-child' ).prop( 'class' ), <del> [ 'ember-view form-group sl-textarea' ], <add> 'ember-view form-group sl-textar...
JavaScript
apache-2.0
df8f6e934cd5f4edebaf150c35d33a8bbfec748b
0
ox-it/moxie-js-client,ox-it/moxie-js-client,ox-it/moxie-js-client,ox-it/moxie-js-client
define(["app", "backbone", "places/models/POIModel", "places/views/CategoriesView", "places/views/SearchView", "places/views/DetailView", "places/collections/POICollection", "backbone.subroute"], function(app, Backbone, POI, CategoriesView, SearchView, DetailView, POIs){ var pois = new POIs(); var PlacesRouter...
app/places/router.js
define(["app", "backbone", "places/models/POIModel", "places/views/CategoriesView", "places/views/SearchView", "places/views/MapView", "places/views/DetailView", "places/collections/POICollection", "hbs!places/templates/list-map-layout", "backbone.subroute"], function(app, Backbone, POI, CategoriesView, SearchView, Map...
Controllers for Places search and detail views Fetch objects from server and applying the correct layouts
app/places/router.js
Controllers for Places search and detail views
<ide><path>pp/places/router.js <del>define(["app", "backbone", "places/models/POIModel", "places/views/CategoriesView", "places/views/SearchView", "places/views/MapView", "places/views/DetailView", "places/collections/POICollection", "hbs!places/templates/list-map-layout", "backbone.subroute"], function(app, Backbone, ...
JavaScript
lgpl-2.1
22326a3782256eefeb250af59ea02dfb64a28bbe
0
brunobuzzi/orbeon-forms,evlist/orbeon-forms,tanbo800/orbeon-forms,ajw625/orbeon-forms,joansmith/orbeon-forms,brunobuzzi/orbeon-forms,evlist/orbeon-forms,wesley1001/orbeon-forms,orbeon/orbeon-forms,martinluther/orbeon-forms,ajw625/orbeon-forms,ajw625/orbeon-forms,orbeon/orbeon-forms,tanbo800/orbeon-forms,evlist/orbeon-f...
/** * Copyright (C) 2009 Orbeon, Inc. * * This program 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 version. * * This prog...
src/resources-packaged/xbl/orbeon/datatable/datatable.js
/** * Copyright (C) 2009 Orbeon, Inc. * * This program 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 version. * * This prog...
Datatable component: after a datatable is disabled and enabled, we also need to reinitalize the style arrays for the column resizers.
src/resources-packaged/xbl/orbeon/datatable/datatable.js
Datatable component: after a datatable is disabled and enabled, we also need to reinitalize the style arrays for the column resizers.
<ide><path>rc/resources-packaged/xbl/orbeon/datatable/datatable.js <ide> var colResizer = null; <ide> if (YAHOO.util.Dom.hasClass(this.headerColumns[j], 'yui-dt-resizeable')) { <ide> colResizer = new ORBEON.widgets.datatable.colResizer(j, this.headerColumns[j], this) <del> ...
Java
mit
error: pathspec '1.JavaSyntax/src/com/javarush/task/task08/task0805/Solution.java' did not match any file(s) known to git
d0d55adbcce47d472529459bd526185267b18b99
1
nphl/JavaRushTasks
package com.javarush.task.task08.task0805; import java.util.HashMap; import java.util.Map; /* На экране — значения! */ public class Solution { public static void main(String[] args) throws Exception { HashMap<String, String> map = new HashMap<String, String>(); map.put("Sim", "Sim"); map...
1.JavaSyntax/src/com/javarush/task/task08/task0805/Solution.java
Complete task0805
1.JavaSyntax/src/com/javarush/task/task08/task0805/Solution.java
Complete task0805
<ide><path>.JavaSyntax/src/com/javarush/task/task08/task0805/Solution.java <add>package com.javarush.task.task08.task0805; <add> <add>import java.util.HashMap; <add>import java.util.Map; <add> <add>/* <add>На экране — значения! <add>*/ <add> <add>public class Solution { <add> public static void main(String[] args) ...
JavaScript
bsd-3-clause
f3e452314a7bacaa78ea7caaae0ed6900d2ffcbc
0
uprisecampaigns/uprise-app,uprisecampaigns/uprise-app,uprisecampaigns/uprise-app
import React, { Component, PropTypes } from 'react'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import Divider from 'material-ui/Divider'; import Subheader from 'material-ui/Subheader'; import IconButton from 'material-ui/IconButton'; import Link from 'components/Link'; impo...
app/client/src/components/Layout/components/NavDrawerContainer/components/NavDrawer/NavDrawer.js
import React, { Component, PropTypes } from 'react'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import Divider from 'material-ui/Divider'; import Subheader from 'material-ui/Subheader'; import IconButton from 'material-ui/IconButton'; import Link from 'components/Link'; impo...
Adding 'actions' link to nav drawer.
app/client/src/components/Layout/components/NavDrawerContainer/components/NavDrawer/NavDrawer.js
Adding 'actions' link to nav drawer.
<ide><path>pp/client/src/components/Layout/components/NavDrawerContainer/components/NavDrawer/NavDrawer.js <ide> <ide> menuItems = [ <ide> { path: '/search', title: 'Search' }, <del> { path: '/communications', title: 'Communications' }, <del> { path: '/calendar', title: 'Calendar' }, <add> { path: '/act...
Java
apache-2.0
fd23d6bb2f6c50f2a72bc6ef2934a4a8448fefbd
0
jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim
/* * JaamSim Discrete Event Simulation * Copyright (C) 2002-2011 Ausenco Engineering Canada Inc. * Copyright (C) 2016-2020 JaamSim Software 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 Li...
src/main/java/com/jaamsim/ui/GUIFrame.java
/* * JaamSim Discrete Event Simulation * Copyright (C) 2002-2011 Ausenco Engineering Canada Inc. * Copyright (C) 2016-2020 JaamSim Software 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 Li...
JS: use arrow keys with menus for 'Font Colour', 'Line Colour', and 'Fill Colour' buttons Signed-off-by: Harry King <409587b9e6671aa0763646191d292852dc49a658@gmail.com>
src/main/java/com/jaamsim/ui/GUIFrame.java
JS: use arrow keys with menus for 'Font Colour', 'Line Colour', and 'Fill Colour' buttons
<ide><path>rc/main/java/com/jaamsim/ui/GUIFrame.java <ide> public void setColour(String colStr) { <ide> KeywordIndex kw = InputAgent.formatInput("FontColour", colStr); <ide> InputAgent.storeAndExecute(new KeywordCommand(selectedEntity, kw)); <add> controlStartResume.requestFocusInWindow(); <ide> ...
Java
lgpl-2.1
fb9337928d9575a619f2dbd3d718b741da905a22
0
xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-api/src/main/java/org/xwiki/model/reference/DocumentReference.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
[Misc] Fix a typo in a variable name
xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-api/src/main/java/org/xwiki/model/reference/DocumentReference.java
[Misc] Fix a typo in a variable name
<ide><path>wiki-platform-core/xwiki-platform-model/xwiki-platform-model-api/src/main/java/org/xwiki/model/reference/DocumentReference.java <ide> @Transient <ide> public DocumentReference setWikiReference(WikiReference wikiReference) <ide> { <del> WikiReference currentWikiReferene = getWikiReference()...
JavaScript
mit
bba78223173c38cffe02a4b010adf294a12fd155
0
Guernouille/Pokemon-Showdown,gustavo515/final,Enigami/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,Flareninja/Pokemon-Showdown,kuroscafe/Paradox,Celecitia/Plux-Pokemon-Showdown,AWailOfATail/awoat,Legit99/Lightning-Storm-Server,gustavo515/gashoro,Disaster-Area/Pokemon-Showdown,cadaeic/Pokemon-Showdown,InvalidDN/Pokemo...
// Note: This is the list of formats // The rules that formats use are stored in data/formats.js exports.Formats = [ // XY Singles /////////////////////////////////////////////////////////////////// { name: "OU (beta)", section: "XY Singles", ruleset: ['Pokemon', 'Standard', 'Team Preview'], noPokebank: ...
config/formats.js
// Note: This is the list of formats // The rules that formats use are stored in data/formats.js exports.Formats = [ // XY Singles /////////////////////////////////////////////////////////////////// { name: "OU (beta)", section: "XY Singles", ruleset: ['Pokemon', 'Standard', 'Team Preview'], noPokebank: ...
Ban Kangaskhanite on OU Monotype OU Monotype is following OU's banlist.
config/formats.js
Ban Kangaskhanite on OU Monotype
<ide><path>onfig/formats.js <ide> section: "Other Metagames", <ide> <ide> ruleset: ['Pokemon', 'Standard', 'Same Type Clause', 'Evasion Abilities Clause', 'Team Preview'], <del> banlist: ['Uber', 'Soul Dew', 'Gengarite'] <add> banlist: ['Uber', 'Soul Dew', 'Gengarite', 'Kangaskhanite'] <ide> }, <ide> { <ide> ...
Java
apache-2.0
e44e43de71bb3b613c255156c0a5842f8eb408ab
0
OpenGamma/OG-Tools
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.maven; import static org.twdata.maven.mojoexecutor.MojoExecutor.artifactId; import static org.twdata.maven.mojoexecutor.MojoExecutor.configuration; import sta...
opengamma-maven-plugin/src/main/java/com/opengamma/maven/ScriptableScriptGeneratorMojo.java
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.maven; import static org.twdata.maven.mojoexecutor.MojoExecutor.artifactId; import static org.twdata.maven.mojoexecutor.MojoExecutor.configuration; import sta...
[PLAT-3579] Allow additional scripts to be generated
opengamma-maven-plugin/src/main/java/com/opengamma/maven/ScriptableScriptGeneratorMojo.java
[PLAT-3579] Allow additional scripts to be generated
<ide><path>pengamma-maven-plugin/src/main/java/com/opengamma/maven/ScriptableScriptGeneratorMojo.java <ide> additional.add("com/opengamma/scripts/run-tool.sh"); <ide> additional.add("com/opengamma/scripts/java-utils.sh"); <ide> additional.add("com/opengamma/scripts/componentserver-init-utils.sh"); <ad...
JavaScript
mit
68788ab8f2ee38336ae487a49606ee8e7eb86b70
0
Masoumeh/arethusa,alpheios-project/arethusa,fbaumgardt/arethusa,fbaumgardt/arethusa,latin-language-toolkit/arethusa,PonteIneptique/arethusa,latin-language-toolkit/arethusa,Masoumeh/arethusa,alpheios-project/arethusa,PonteIneptique/arethusa,fbaumgardt/arethusa,alpheios-project/arethusa
"use strict"; angular.module('arethusa.depTree').directive('unusedTokenHighlighter', [ 'state', function(state) { return { restrict: 'A', scope: { highlightMode: '@unusedTokenHighlighter', style: '=unusedTokenStyle' }, link: function(scope, element, attrs) { var ...
app/js/arethusa.dep_tree/directives/unused_token_highlighter.js
"use strict"; angular.module('arethusa.depTree').directive('unusedTokenHighlighter', [ 'state', function(state) { return { restrict: 'A', scope: { highlightMode: '@unusedTokenHighlighter', style: '=unusedTokenStyle' }, link: function(scope, element, attrs) { var ...
More prominent highlighting for uTH by default
app/js/arethusa.dep_tree/directives/unused_token_highlighter.js
More prominent highlighting for uTH by default
<ide><path>pp/js/arethusa.dep_tree/directives/unused_token_highlighter.js <ide> link: function(scope, element, attrs) { <ide> var unusedTokens; <ide> var headWatches = []; <del> var style = scope.style || { "font-style": "italic" }; <add> var style = scope.style || { "background-colo...
JavaScript
mit
d4439d752e775465f3d207e20e61faecce66d468
0
mskalandunas/riverine-docs
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
public/bundle.js
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
update bundle
public/bundle.js
update bundle
<ide><path>ublic/bundle.js <ide> this.playButton = that.children[1].children[0].children[0]; <ide> this.playHead = that.children[2].children[0].children[0]; <ide> this.timeline = that.children[2]; <del> console.log(this.timeline); <ide> this.timelineWidth = this.timeline.offsetWidth - this.playH...
Java
apache-2.0
16e030c0637c700711025124a32bf2238fb5f27d
0
tensorflow/java,tensorflow/java,tensorflow/java,tensorflow/java
/* Copyright 2017 The TensorFlow Authors. 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 applicable law or a...
tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/Scope.java
/* Copyright 2017 The TensorFlow Authors. 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 applicable law or a...
[TF Java] Adds withcontrolDependencies to org.tensorflow.op.Ops Co-authored-by: Melissa Grueter <9fd645cc92d225211480728836bb35422976292e@fb.com> Co-authored-by: Samantha Andow <6e03844e3c77d78de62beb4dc411cf4712772449@fb.com>
tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/Scope.java
[TF Java] Adds withcontrolDependencies to org.tensorflow.op.Ops
<ide><path>ensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/Scope.java <ide> package org.tensorflow.op; <ide> <ide> import org.tensorflow.ExecutionEnvironment; <add>import org.tensorflow.Operand; <add>import org.tensorflow.OperationBuilder; <add> <add>import java.util.ArrayList; <ide> <ide> /** <ide...
Java
apache-2.0
9cc7344fdc1d20c3ac6a30a070e49ca924ca272c
0
nssales/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,jerome79/OG-Platform,McLeodMoores/starling,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,jeorme/OG-Platform,ChinaQuants/OG-Platform,jerome79/OG-Platform,jeorme/OG-Platform,nssales/OG-Platform,nssales/OG-Platform,McLeodMoores/...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.timeseries; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFac...
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/timeseries/YieldCurveNodeReturnSeriesFunction.java
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.timeseries; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFac...
[PLAT-5331] Switched to use user-specified tenors rather than resolved tenors in result.
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/timeseries/YieldCurveNodeReturnSeriesFunction.java
[PLAT-5331] Switched to use user-specified tenors rather than resolved tenors in result.
<ide><path>rojects/OG-Financial/src/main/java/com/opengamma/financial/analytics/timeseries/YieldCurveNodeReturnSeriesFunction.java <ide> sensitivityToRate = new boolean[n]; <ide> int i = 0; <ide> for (final FixedIncomeStripWithSecurity strip : strips) { <del> tenors[i] = strip.getResolvedTenor(...
JavaScript
mit
798886e14b20b8ac6a0fe3b9cd00352c62e3facd
0
contactless/homeui,contactless/homeui
'use strict'; angular.module('homeuiApp.commonServiceModule', []) .factory('CommonCode', ['$rootScope', '$location', '$window', '$routeParams', 'mqttClient', 'HomeUIData', function ($rootScope, $location, $window, $routeParams, mqttClient, HomeUIData){ var commonCode = {}; var globalPrefix = ''; commonC...
app/scripts/services/commonService.js
'use strict'; angular.module('homeuiApp.commonServiceModule', []) .factory('CommonCode', ['$rootScope', '$location', '$window', '$routeParams', 'mqttClient', 'HomeUIData', function ($rootScope, $location, $window, $routeParams, mqttClient, HomeUIData){ var commonCode = {}; var globalPrefix = ''; commonC...
default connection settings
app/scripts/services/commonService.js
default connection settings
<ide><path>pp/scripts/services/commonService.js <ide> commonCode.isConnected = function () { <ide> return mqttClient.isConnected(); <ide> }; <add> <add> <ide> commonCode.tryConnect = function() { <add> <add> if ($window.localStorage['port'] == undefined) { <add> $window.localStorage['port'] = 188...
Java
mpl-2.0
061fed864a7e62b25e688bbf50cefc36344e5835
0
msteinhoff/hello-world
a96bb9d7-cb8e-11e5-8f1e-00264a111016
src/main/java/HelloWorld.java
a9608ed9-cb8e-11e5-8e92-00264a111016
NO CHANGES
src/main/java/HelloWorld.java
NO CHANGES
<ide><path>rc/main/java/HelloWorld.java <del>a9608ed9-cb8e-11e5-8e92-00264a111016 <add>a96bb9d7-cb8e-11e5-8f1e-00264a111016
JavaScript
mit
b4748d86032a8d7107870836be9fd4e4a23be60f
0
SnakeskinTpl/Snakeskin
'use strict'; /*! * Snakeskin * https://github.com/SnakeskinTpl/Snakeskin * * Released under the MIT license * https://github.com/SnakeskinTpl/Snakeskin/blob/master/LICENSE */ import Snakeskin from '../core'; import Parser from './constructor'; import { r } from '../helpers/string'; import { getCommentType } fr...
src/parser/jadeLike.js
'use strict'; /*! * Snakeskin * https://github.com/SnakeskinTpl/Snakeskin * * Released under the MIT license * https://github.com/SnakeskinTpl/Snakeskin/blob/master/LICENSE */ import Snakeskin from '../core'; import Parser from './constructor'; import { r } from '../helpers/string'; import { getCommentType } fr...
:wrench:
src/parser/jadeLike.js
:wrench:
<ide><path>rc/parser/jadeLike.js <ide> nextSpace = !chr || rgxp.ws.test(chr); <ide> <ide> let dir; <del> if (struct && struct.adv) { <add> if (struct && struct.adv || el === alb) { <ide> dir = el === alb && next !== lb && nextSpace; <ide> <ide> } else { <ide> parts[i] = this.pasteDangerB...